Using CATALINA_HOME: /Users/Shared/apache-tomcat-9.0.30 Using CATALINA_BASE: /Users/Shared/apache-tomcat-9.0.30 Make sure you are in correct tomcat path location. Start tomcat server using command: /bin/ startup.sh. Let’s check first tomcat is running on port 8080 over HTTP. Create Self Signed Certificate Signing Request bash-3.2$ keytool -certreq -keyalg RSA -alias crunchify -file crunchify.csr -keystore crunchify.keystoreĮnter password: 123456 Step-3. I’m using Mac OS X, so replace your path accordingly if you are on windows. Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 90 daysįor: CN=App Shah, OU="Crunchify, LLC", O=Crunchify, L=New York City, ST=NY, C=US Is CN=App Shah, OU="Crunchify, LLC", O=Crunchify, L=New York City, ST=NY, C=US correct? What is the two-letter country code for this unit? What is the name of your State or Province? What is the name of your City or Locality? What is the name of your organizational unit? bash-3.2$ keytool -genkey -alias crunchify -keyalg RSA -keystore /Users/Shared/crunchify.keystore Command: bash-3.2$ pwdīash-3.2$ keytool -genkey -alias crunchify -keyalg RSA -keystore /Users/Shared/crunchify.keystoreįile will be created under folder /Users/Shared. Keytool: we will generate secure key using keytool command – which is key and certificate management tool. In this tutorial we will go over all steps in details on how to enable HTTPS/SSL on Apache Tomcat Server. In most of the tutorial I’ve run server on port 8080 which is default port configured in server.xml file. On Crunchify we have already published almost 40 articles on Apache Tomcat. Mostly I’ve been in touch with Tomcat Server in my daily work life, simply can’t live without it. I believe when I did my 1st under grade project, it was on Tomcat version 1.x. It’s been almost 12 years I started using Apache Tomcat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |