How to get SSL certificate for windows 2012 aws server using apache tomcat 7.07

Please fill out the fields below so we can help you better.

My domain

I ran this command:

It produced this output:

My operating system is (include version):windows 2012 aws server

My web server is (include version):windows 2012 aws server

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): i don’t know

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):no

hi @Ranjith

A bit more involvement (this is what I have tried etc) would be great

Have a review of some of the articles posted about Tomcat on Windows

If this doesn't quite work for you

Then lets have a discussion on how you would like to go about obtaining certificates etc (this does rely on you sharing and caring :smiley: )


@ahaw021 I generate key store using this command in windows server keytool -genkey -alias tomcat -keyalg RSA i chose password for keystore.all configuration set in server.xml.But not generate as a secured website.


<?xml version='1.0' encoding='utf-8'?> test.domain

@ahaw021 I generate csr certificate too .how to configure this to get ssl certificate?

hi @Ranjith

Have you obtained SSL Certificates from Public CAs before?

If so the next steps are the same as most of them

You submit the CSR to the CA, pass a challenge and download the certificate

Using a client like ZeroSSL you should be able to do that


I have used zeroSSL and generate four text files.then what i will do,How to
setup webserver settings?

@sahsanu provided a great summary of next steps here: Certbot and Tomcat - Certificates Obtained but Not Converted to JKS and Configured with Tomcat (FIXED!)

where i want to use this four text files
domain-key.txt,domain-crt.txt,domain-csr.txt and account-key.txt.

This link is using in window server ?

I am using windows server.

Hi @Ranjith

I suggest further research in to Java Key Stores JKS (the process to create is the same on windows and linux)

You should also research what the four files actually do and how to combine them to get what you want.


I will finish it.Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.