你好,欢迎访问刊然软文网!
当前位置:首页 - 常用教程 - 其它教程 - 正文 君子好学,自强不息!

SSL证书暴露源站ip的解决方法

2021-10-23其它教程刊然948°c
A+ A-

网站开启了ssl,导致套了cdn暴露出源站ip的解决方法

教程开始,本篇教程以宝塔面板做示范
  • 首先先新建一个站点,域名绑定随便瞎输入一个,如图:

  • 然后到站点设置里面找到ssl

  • 证书输入一个假的就行了,打开强制ssl

填写我这个证书也可以,如下

密钥key:

-----BEGIN RSA PRIVATE KEY-----MIIEowIBAAKCAQEAqw6LKza1Qq6OxbMj2jkmzcKAlgz7kLDKHSmBfxgoj+qCDuO7LJdBDj7O27ZPElj/Kjc+nG8vOfRtoFe+mA1l3MwhibDJidZ4BKdfN5oReB/yq/TiST143KXDPJyj4W9C3a6WTJIlJxpGJQs6zyjv4KgNrnVWczq3OZ3oQVva7XILRythp5rI2jiG6atcgJ54iMaLarPPh6mnuaBJvdpOdew8f+RxynyBviJuep5leQ8gIMnedEJQ/VR4fQ+fcKmfqnVfO0SsTIuPqIOqN0SWWr7TlxuAuEsNiDFcPzG20QwDSUZuZmSrq7x55RF3tBxXGF8r/UycaqD7MN6/xL/AhwIDAQABAoIBAB9JJS4NrwBXsdg56ARJMK4wdVk8XaR8mTLVPRCUSBLuZsQ3ZawFrAnhde8cfIDUEzNS8FonQcF9UbGiasMfrDJCiZ3H3kyeE8xyGkmunaRVX4qQ2vRfUGQ20ysaUSTxtw6ZmHa/whjRRuQOlj5+c8Uop3vxjRK9OfbJSUnu9W85ACiRW0ZBMgAxt8biSsN7lLauqafeeHGOdxFGcp/1mOIZa16lb5bzIynswZfSaG6946yYkzFAnewv1MiHmefnYqJbAC0NUswnIA8dxCEVYjZaXdLYrYGeRcX+bBEMcafEd92HTsrfmezTUthS/unWKoNskX+ktWY14zTmCMjfm4ECgYEA5vAW6W1fq+Br31wrNpZwxbB4mRV5cJqOG+B7BLg8TGqJbcamPyc1WMYooDpzpKlQ6mVeaKVguxsY7uCSYP0azTum4HO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DTjETMBEGA1UECAwKR3Vhbmd6aG9uZzERMA8GA1UEBwwIU2hlbnpoZW4xDTALBgNVBAoMBExYVFgxDDAKBgNVBAsMA0xYVDEYMBYGA1UEAwwPZGVmYXVsdC5kZWZhbHV0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArNNdCOFAe7b8iUxZ1FKr8p3qeWjn8uzbP6NkvBGU3dtlacVz3ivW0lf8bFDhBPlxUEsrxge2QAruz83ABdaZNxiDHKA5IRLiYJo2gzlFQ/sDJ967ScipxFrZ0fza6tWX/TOVNU7VacOy1Fc4ZwDW9yZFpXiFWInbLF7ZNLj986Gc/EsjmsQM5M5nKhtQNu0g2iYzz0d+hB0saMyFh5wfXH4i/gmKtpa4IbV6YqGMHpvjroItMcNqHPMyWoDwBa3e8CW5hop8sb2b9FOwEJMRLSijTi5l/K+3oQDjNJbCWfjUG8ygjYUiJ4ae1Zl+5rcYkvsg26+B0PTax8zX+L834QIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQCG5lroJwys+NNrBAh99TuCNPphZmV+QDyJh9XOTI49GPzZvuarETeN8gwKFCvAqIfrL3rSYo+IrFBdKZkE79MRlZxNTNy8rfOVdp20sALKTXtGEPLzyyRNwaON/sp4HOpu43DL4mPd5esS0vhKpdsMBoStIlPE6Lvzne3Bl1YgaRj4k4jlwBWkkUMmVpYozUCRTKlFiayUw8l/2In5+ShydqSsJhP2FUmrzQLjNtdHkof6t2W1RWD5YeTcAmzcSS8sBW5/DaHFD1htwS97Sfe1zuzEtbegkJqrGCBj312PV3InMR0B82uKlvn3nMNGZ0Yci35twCR0It8DOz6TGSOq-----END CERTIFICATE-----

设置完成以后,回到站点页面设置默认站点为这个站即可

教程结束,大功告成


  选择打赏方式
微信赞助

打赏

QQ钱包

打赏

支付宝赞助

打赏

  移步手机端
SSL证书暴露源站ip的解决方法

1、打开你手机的浏览器;
2、扫描左则的二维码;
3、点击链接即可进入网站
未定义标签

本文来源:绚丽人生-空间云

本文地址:https://xlrs.cn/55.html

联系我们:官方QQ群:793912597

关注我们:微信搜索“刊然”关注官方微信公众号

版权声明:未经本平台允许禁止转载,转载请注明本文地址!

免责声明:本文由刊然软文网用户自行上传分享,仅供网友学习交流;该文观点仅代表作者本人,本站不承担相关法律责任。若您发现本文有涉嫌违法违规或抄袭/侵权的内容使您的权利被侵害,请联系邮箱 jubao@kanran.com.cn,一经查实,本站将立刻删除。

发表评论

选填

必填

必填

选填

请拖动滑块解锁
>>


  用户登录
 
光临
欢迎

遇到问题?请给我们留言

请填写您的电话号码,我们将回复您电话