成功安装后如何处理ssl certbot证书

dphi5xsq  于 2021-10-10  发布在  Java
关注(0)|答案(0)|浏览(218)

我仔细地遵循了certbot的指示,并成功地在带有ApacheTomcat服务器的ubuntu发行版上安装了certbot证书。问题是,尽管证书已成功安装,但它不起作用(在浏览器地址行上,我无法访问我的网站)https://.. 只需使用http://)。
安装证书时,我收到下一条消息:
重要提示:恭喜!您的证书和链已保存在:/etc/letsencrypt/live/mantprov.com/fullchain.pem您的密钥文件已保存在:/etc/letsencrypt/live/mantprov.com/privkey.pem您的证书将于……到期……。。
apache tomcat的server.xml文件上的我的连接器:

<Connector
       protocol="org.apache.coyote.http11.Http11AprProtocol"
       port="8443" maxThreads="200"
       scheme="https" secure="true" SSLEnabled="true"
       URIEncoding="UTF-8"
       SSLCertificateFile="/etc/letsencrypt/live/mantprev.com/fullchain.pem"
       SSLCertificateKeyFile="/etc/letsencrypt/live/mantprev.com/privkey.pem"
       SSLVerifyClient="optional" SSLProtocol="TLSv1+TLSv1.1+TLSv1.2"/>

我已经检查了catalina.out文件上的日志,它说ssl证书已成功初始化。
有人能告诉我我应该怎么做才能获得ssl证书吗??当做

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题