Hello, > -----Ursprüngliche Nachricht----- > Von: Manibharathi R <manibharat...@sugunafoods.com> > Gesendet: Dienstag, 28. Juni 2022 08:56 > An: Tomcat Users List <users@tomcat.apache.org> > Betreff: Re: AW: Request for SSL Setup > > Thanks for your prompt response. > > Could you please send me the procedure that how can we generate > certficates files? > > -----Original Message----- > From: Thomas Hoffmann (Speed4Trade GmbH) > Sent: Tuesday, June 28, 2022 12:13 PM > To: Tomcat Users List > Subject: AW: Request for SSL Setup > > This email came from an external source. Please do not click links or open > attachments unless you recognize the sender. > ________________________________ > > Hello, > > > -----Ursprüngliche Nachricht----- > > Von: Manibharathi R <manibharat...@sugunafoods.com> > > Gesendet: Dienstag, 28. Juni 2022 07:16 > > An: users@tomcat.apache.org > > Betreff: Request for SSL Setup > > > > Dear Team, > > > > Greetings, > > > > I have done keystore generation, import key features and changes done > > in server.xm. But still I am unable to access throught https. > > > > Kindly send me the causes of this issue > > > > Regards, > > R.Manibharathi, > > AM,Android Mobile App Developer > > > > ________________________________ > > > > Could you please check all logfiles if there are some errors shown? > Any stacktraces, warnings or errors visible? > Is there a line like "org.apache.coyote.AbstractProtocol.start Starting > ProtocolHandler ["https-openssl-nio-443"]" ? > > Greetings, Thomas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > Regards, > R.Manibharathi, > AM,Android Mobile App Developer >
You can do it e.g. with keytool: https://stackoverflow.com/questions/42541356/how-to-create-a-self-signed-ssl-certificate-for-use-with-tomcat This generates a self-signed certificate which is suitable for development and testing purposes. Another method is using OpenSSL but this involves multiple steps: https://www.baeldung.com/openssl-self-signed-cert If you need a public signed certificate, you can generate a CSR with OpenSSL and send it to a certificate authority to get it signed. Background information: For using SSL you always need a matching keypair, this is a public and a private key. The private key is signed. The clients needs to trust the signature (with the corresponding signatures public key). A jks-file can store both keys. Alternatively you can use two separate files (e.g. in PEM-format) and configure the tomcat-connector to use both files. Greetings, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org