Securing the microservice with SSL
You may wish to secure your microservice using Secure Socket Layer (SSL), so that an HTTPS connection is required to interact with the service.
About this task
- a certificate signed and issued by a Certificate Authority (CA)
- a private key
- a keystore containing both of these
You configure the keystore in the application.properties file of your microservice. You can reuse the same certificate, key and keystore for multiple microservices, so long as they are all running on the same machine.
This section assumes that you have no certificate, key or keystore yet. If you do, you can skip the topics that do not apply.