zoukankan      html  css  js  c++  java
  • Got "Could find web site" error after renewing server certificate

    Recently the server certificates expired and I need to renew the certificates. I went to the server, entered IIS managment console, opened the Default web site, right click on the Default web site, select “Property” item from the popup menu. Then click the “Directory Security” tab. Click the “Server certificate” button, a dialog showed up. I clicked the “renew the current certificate” option and click “Next”, and I saved the server certificate request to c:\request.txt.

    After that I went to the server certificate service web site of my company, filled in necessary information and pasted the content of c:\request.txt into the form, and submitted the form. Minutes later I got an email from the server certificate service web site with the renewed server certificate. I saved the new certificate to c:\cert.cer. I went to IIS management console again, opened the “Server certificate” dialog again, and then I selected the c:\cert.cer. It seemed the certificate was renewed successfully.

    And then I browsed my application page in IE, I saw an error message “Could not find the web site”. I did not know what was broken during renewing the certficate. Then I search the error message and error code on Baidu.com and google.com. It seemed no page is talking about the error message. I also called my colleagues, asked them whether they knew what was the root cause. They did not find the reason. I had to dig it out by myself. In the mean time, the business user reported that the production server was down. They needed to do trades on the next day morning and then I needed to figoure it out before the next day.

    Let me be concentrated on the error..., what was done?   Just renewed the certificate, and then the server was broken.  What was broken? No idea. Let me check the IIS settings one by one. After checked all the settings, I found my application could only be accessed using 127.0.0.1. The original IP address 14.129.146.123 of the application server is not accessible. Then I went to “Website” tab, go to “IP address”,  click “Advanced” button, I found the original IP address 14.129.146.123 was not in the IP identity list and the SSL list, that should be the root cause. Therefore I added the 14.129.146.123 into the two lists.

    Open the URL of my application in IE, my application came back again! Terrific!

  • 相关阅读:
    Ubuntu系统---安装思维导图XMind
    Git---Ubuntu下的安装与使用
    YOLO---YOLOv3 with OpenCV安装与使用
    Keras---Virtualenv 下安装Keras (基于Tensorflow后端)
    Python---virtualenv + Tensorflow + 安装jupyter notebook
    Ubuntu系统---以virtualenv方式安装Tensorflow-CPU
    Caffe---Pycaffe 绘制loss和accuracy曲线
    Caffe---自带工具 绘制loss和accuracy曲线
    day91 DjangoRestFramework学习三之认证组件、权限组件、频率组件、url注册器、响应器、分页组件
    day 90 DjangoRestFramework学习二之序列化组件
  • 原文地址:https://www.cnblogs.com/mikelij/p/1779860.html
Copyright © 2011-2022 走看看