Tomcat: Doesnt pick up SSL certificate without port-number -
i having issue getting tomcat utilize new ssl certificate (from godaddy). tomcat picking new certificate when mention portnumber (say unit1.myfirm.net:8443). not when seek url (say unit1.myfirm.net).
any ideal why? time!
http
, https
have default port number. when utilize http://unit1.myfirm.net
url in browser automatically port 80
used, when type https://unit1.myfirm.net
url port 443
used instead. in other hand can configure port http , https in tomcat, in case config port 8443
https
in tomcat not 443
. why you've utilize port in url: https://unit1.myfirm.net:8443
.
if want specify 443 ssl, have edit server.xml
located in $catalina_base/conf/server.xml
. in file there connector like:
<connector protocol="http/1.1" port="8443" maxthreads="200" scheme="https" secure="true" sslenabled="true" keystorefile="/path/keystore" keystorepass="yourpass" clientauth="true" sslprotocol=..... />
change port attribute port="8443"
port="443"
hope helps,
tomcat ssl certificate port-number
No comments:
Post a Comment