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...

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!

目录
相关文章
|
IDE Linux 开发工具
如何在Linux运行RStudio Server并实现Web浏览器远程访问
如何在Linux运行RStudio Server并实现Web浏览器远程访问
461 0
An error happened during template parsing (template: “ServletContext resource [/WEB-INF/templates/in
An error happened during template parsing (template: “ServletContext resource [/WEB-INF/templates/in
145 2
|
2月前
|
前端开发 Java API
Spring Cloud Gateway Server Web MVC报错“Unsupported transfer encoding: chunked”解决
本文解析了Spring Cloud Gateway中出现“Unsupported transfer encoding: chunked”错误的原因,指出该问题源于Feign依赖的HTTP客户端与服务端的`chunked`传输编码不兼容,并提供了具体的解决方案。通过规范Feign客户端接口的返回类型,可有效避免该异常,提升系统兼容性与稳定性。
167 0
|
应用服务中间件 nginx
【报错】Failed to start A high performance web server and a reverse proxy server.
【报错】Failed to start A high performance web server and a reverse proxy server.
834 2
|
Linux
【web server】基于升序链表的定时器
【web server】基于升序链表的定时器
194 0
|
11月前
|
网络协议 Windows
Windows Server 2019 Web服务器搭建
Windows Server 2019 Web服务器搭建
437 0
|
Android开发 iOS开发
[ionic]解决运行Android、IOS出现Could not find the web assets directory
[ionic]解决运行Android、IOS出现Could not find the web assets directory
136 1
|
开发者 前端开发 Apache
Apache Wicket Ajax揭秘:轻松几步,让你的Web应用告别“呆板”,焕发新生!
【8月更文挑战第31天】随着互联网技术的发展,Web应用的交互性成为评价网站成功的关键指标。Apache Wicket作为一款卓越的Java Web框架,不仅具备强大的组件化开发能力,还内置了对Ajax技术的支持,使开发者能轻松提升Web应用的交互体验。通过简单的代码示例展示了如何在不刷新页面的情况下异步更新页面元素,极大提升了用户体验。Wicket提供了多种Ajax组件和行为,如AjaxFallbackLink、AjaxButton等,满足不同场景需求,并支持自定义Ajax行为,帮助开发者实现复杂交互效果。合理运用Wicket的Ajax功能,可显著增强网站竞争力。
149 0
|
C# 开发者
全面提升开发效率:详解如何使用Blazor Server与SignalR打造实时Web应用,从零开始构建聊天室示例并掌握实时通信核心技术
【8月更文挑战第31天】提高生产力不仅关乎效率提升,更在于用更少时间完成更多任务。本文将通过具体代码示例,介绍如何结合 Blazor Server 和 SignalR 构建实时 Web 应用。从创建 Blazor 项目到添加 SignalR 支持,再到实现客户端与服务器间的实时通信,每个步骤都详细讲解。通过这一组合,C# 开发者能获得前后端一致的编程体验,轻松打造高效、响应迅速的实时应用。实时通信功能已在社交、协作等多个领域发挥重要作用,本文将助你掌握这一强大技术组合。
472 0
|
前端开发 JavaScript
【Azure 环境】前端Web通过Azure AD获取Token时发生跨域问题(CORS Error)
【Azure 环境】前端Web通过Azure AD获取Token时发生跨域问题(CORS Error)
158 0