ssl配置问题
在tomcat下配置ssl连接,利用keytool生成安全证书时,老是出现安全证书上名称无效,或者与站点名称不匹配,虽然不影响应用,但每次都点也挺烦的,后来查了些资料,keytool生成过程中的common name应填什么?
在Verisign网站上看到:
The common name for the server that will use the SSL Certificate must be the fully qualified domain name - the domain name and the host name (if applicable). For example, in digitalid.verisign.com, verisign.com is the domain name and digitalid is the host name. In
www.verisign.com, verisign.com is the domain name and www is the host name.
If your fully qualified domain name does not include a host name, simply enter the domain name. A host name will not be included in your certificate.
If your fully qualified domain name does include a host name, enter the full name, including the host and domain name. Submitting only the host name or only the domain name may delay the enrollment process or result in issuing an unusable certificate.
我现在的应用服务是https://localhost:8443或者
https://192.168.0.19:8443,这种情况下common name 应输入什么?