A year ago I have bought an SSL certificate for the wxyz.com domain.
With some researches, I have created an sslKeyStore.p12 and added my certificate with Alias=wxyz in it.
Then I added that keyStore to the root of my project.
Also I have configured my Spring-Boot application with the following variables:
server.port=443
server.ssl.key-store=keystore.p12
server.ssl.key-store-password=myPass
server.ssl.keyStoreType=PKCS12
server.ssl.keyAlias=wxyz
Now after a year my certificate will expire soon, so I have bought another certificate and added the new certificate to the keystore with Alias=wxyz2.
But the question is: How can I configure my Spring-Boot application so that it works with both certificates at the same time?
In my configuration file, I can only define one server.ssl.keyAlias
Is it possible to define both of the following variables at the same time?
server.ssl.keyAlias=wxyz
server.ssl.keyAlias=wxyz2
Any help would be appreciated.