1
I need to make an HTTPS configuration in a java project on Azure. In the project I use spring security and Tomcat. I searched on many sites how to make the configuration but found different information, which left me a little lost and tried to configure several ways.
I configured Tomcat 9 to accept request on port 8443 https and used the keytool to generate a csr and then used it to acquire the CA Goodaddy certificate. There I managed to download 3 files to Tomcat and I used the keytool to define root the main certificate and intermediaries.
That I imagine is the main configuration I’ve made, but I’ve tried other things as well. If someone who has already set up https on Azure knows how to illustrate the step-by-step that should be done to make a certified java project, I would be very grateful.
How are you trying to host? You are trying to use Iaas and climbed a VM, or are using Paas with Azure App Service, such as Azure Webapp?
– Thiago Lunardi
I climbed a VM and I’m trying to do the configuration directly on Tomcat, using the keytool.
– Bruno Spy
Because then, it is that so you will have to seek guidance on Tomcat, on the OS of the VM and ACL to release ports, etc. But if you host Paas with Azure Appservice Webapp, I can guide you to install the SSL certificate quickly.
– Thiago Lunardi
Blz, let’s try it. I will have to change some things in my code, because in this mode they offer only Java 7 and I was using 8. If you can pass me the guidelines I switch to Paas here and make the necessary changes.
– Bruno Spy