简体   繁体   English

SSL证书配置

[英]SSL certificate configuration

I have successfully added SSL certificate to my url.我已成功将 SSL 证书添加到我的 url。 now url is " https://puinex5xgm-l1 ".现在网址是“ https://puinex5xgm-l1 ”。 Its working fine on browser.它在浏览器上工作正常。 but whenever I try to add port to this ulr " https://puinex5xgm-l1:90/ " its giving me " SSL connection error ERR_SSL_PROTOCOL_ERROR ".但是每当我尝试向此ulrhttps://puinex5xgm-l1:90/ ”添加端口时,它都会给我“ SSL 连接错误 ERR_SSL_PROTOCOL_ERROR ”。 My apache server is running on port 90.我的 apache 服务器在端口 90 上运行。

While creating certificate I have used domain name as "puinex5xgm-l1".在创建证书时,我使用的域名为“puinex5xgm-l1”。

Please help.请帮忙。

ERR_SSL_PROTOCOL_ERROR is not related to the certificate. ERR_SSL_PROTOCOL_ERROR 与证书无关。 My guess is that you don't have https on port 90 enabled but instead plain http, which then will cause such an error.我的猜测是您没有在端口 90 上启用 https,而是启用了普通的 http,这会导致这样的错误。

I have found the solution.我找到了解决办法。

I have made changes in "httpd-ssl.conf" file.我对“httpd-ssl.conf”文件进行了更改。 Here, I have used "VirtualHost default :90" instead of "VirtualHost default :443".在这里,我使用了“VirtualHost default :90”而不是“VirtualHost default :443”。

Now Apache server listening my port.现在 Apache 服务器正在监听我的端口。

Its working fine now.它现在工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM