You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
Can you create example out of this EchoServer project but such that it uses SSL/HTTPS with certificate. I cannot find any information how this kind of service could be set up with HTTPS communication which is essential in many applications. Main problem as far as I know is the loading of certificate as all applications usually load the certificate from the disk using FileInputStream. If I can load the certificate from somewhere it seems trivial to implement the server code using com.sun.net.httpserver.HttpsServer. Is there some Java API that I'm unaware about that would allow to load certificate from some storage in azure or from another place? How should one go about f.e. porting this example to use HTTPS server in that manner?
Can you create example out of this EchoServer project but such that it uses SSL/HTTPS with certificate. I cannot find any information how this kind of service could be set up with HTTPS communication which is essential in many applications. Main problem as far as I know is the loading of certificate as all applications usually load the certificate from the disk using
FileInputStream. If I can load the certificate from somewhere it seems trivial to implement the server code usingcom.sun.net.httpserver.HttpsServer. Is there some Java API that I'm unaware about that would allow to load certificate from some storage in azure or from another place? How should one go about f.e. porting this example to use HTTPS server in that manner?