Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does calling a secure Web services (HTTPS) requires more setup?

I need to call a secured web service (https). using Java (or even any other prog lang).

Do I need to do any extra steps rather than the usual steps to create a client for HTTP web service?

EDIT: please I need answer to this question too : If not, So how my client do decrypte the encrypted message sent from the web service??

Thanks

like image 554
Muhammad Hewedy Avatar asked Jun 23 '26 04:06

Muhammad Hewedy


2 Answers

The Java URL api should handle this for you. There may be issues with certificates if the server certificate signer is not part of the standard Java CA set, but that's unlikely (and not too hard to fix).

Other languages will almost certainly have similar support.

The socket layer will handle all encryption and decryption for you.

like image 111
Cameron Skinner Avatar answered Jun 24 '26 22:06

Cameron Skinner


Theoretically no. Https is basically HTTP over SSL/TLS. So, since both SSL/TLS are located in the Transport Layer, everything should work exactly the same way as HTTP. Now, you are going to have to get a certificate for the server.

Nothing needs to be done on your end. The transport layer handles it all automatically, with no hassle for your application layer. This means, your program doesn't tell the difference between regular HTTP and HTTPS.

like image 29
horacv Avatar answered Jun 24 '26 23:06

horacv



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!