Md. Mostafizur Rahman
Md. Mostafizur Rahman

Reputation: 481

Secure https url from tomcat server

I am trying to get https url from tomcat server by following.

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
          maxThreads="150" scheme="https" secure="true"
          keystoreFile="/root/.keystore" keystorePass="key-password"
          clientAuth="false" sslProtocol="TLS" />

But it gives insecure https url.

Can i get secure https url from tomcat server where i can distribute my apps?

Any suggestion will be highly appreciated.

Upvotes: 0

Views: 150

Answers (1)

hiren
hiren

Reputation: 1105

The reason why you are seeing the red "Not Secure" https is because the certificate that you have provided is self-signed. If you get a signed certificate from any authorized vendor and use that certificate, you'll get the green "Secure" like you want.

Upvotes: 1

Related Questions