Skip to content

Commit

Permalink
Improved some post descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Aug 16, 2024
1 parent 4b61b03 commit 12039b5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _posts/2014/2014-8-3-how-to-use-antlr-4-on-net.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "How to Use ANTLR 4 on .NET"
description: "This post talks about how to use ANTLR 4 on .NET."
description: "Learn how to effectively use ANTLR 4 on .NET and optimize your parsing experience."
tags: .NET ANTLR
permalink: /how-to-use-antlr-4-on-net-4361915b670f
excerpt_separator: <!--more-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: The Whole Story of "Server Certificate Disappears in IIS 7/7.5/8/8.5/10.0 After Installing It! Why!"
description: This post tries to show you why server certificate might disappear after installing to IIS Manager, so that you get both the solution and the rationale.
description: Gain a deeper understanding of the issue of server certificate disappearance in IIS Manager and discover a comprehensive solution. Learn why this problem occurs and how to resolve it, ensuring the integrity of your certificates. Enhance your IIS management skills and avoid common pitfalls by following a step-by-step process to request and install certificates in IIS, including insights into the role of OpenSSL.
tags: IIS
permalink: /the-whole-story-of-server-certificate-disappears-in-iis-7-7-5-8-8-5-10-0-after-installing-it-why-b66e802baa38
excerpt_separator: <!--more-->
Expand All @@ -13,9 +13,11 @@ This post tries to show you the whole image behind the scene, so that you get bo
<!--more-->

## How to Requesting A Certificate

If you do want to buy a server certificate, you know you need to contact a CA such as VeriSign (now Symantec, and follow their [excellent article](https://support.symantec.com/en_US/article.HOWTO59214.html).

## The Problem of Disappearing Certificate

However, not all CAs give you such clear hints on how to move on step by step, and some of them even does not have IIS related guides.

For example, one CA (unnamed as I don't know its name either, learned from an online discussion) requires the following,
Expand All @@ -30,6 +32,7 @@ As no further guide is provided, the end user follows his/her guess to install t
Guess what? The server certificate seems to be installed. And just after a refresh, it disappears!

## Root Cause Analysis

Unfortunately, this is just a bug of IIS Manager. Or we call it by design, as that engineer might guess you never make a request via OpenSSL (what a horrible assumption).

When IIS Manager reads this .cer file, it should scan a private location in system for a corresponding private key (which was generated and used to create the initial certificate request). As this certificate was not created following the IIS documentation, of course no private key can be found.
Expand All @@ -41,6 +44,7 @@ Then why the certificate disappears? Well, Vijayshinva shows the reason in the f
Well, that reminds me of other tiny little things in IIS Manager that should be improved and that's why I started to develop Jexus Manager for IIS Express (and IIS of course).

## The Solution

Since the certificate process started with OpenSSL, let's end it with OpenSSL by merging the private key and the received .cer file,
``` bash
openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer
Expand All @@ -49,6 +53,7 @@ openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificat
The resulting PFX can be imported in IIS Manager via Import menu item in Actions panel.

## Acknowledgement

I would like to thank [Aniruddha](http://stackoverflow.com/users/4776754/aniruddha) for the great way of posting a question with enough technical details. Without this question background I could hardly imagine the cause.

[The original discussion](http://stackoverflow.com/questions/30672552/ssl-certificate-is-not-installing/30677436#30677436) was at StackOverflow.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: The Story About .NET Cross Platform UI Frameworks
description: This post provides an in-depth analysis of various .NET cross-platform UI frameworks, highlighting their advantages and disadvantages, to help developers make informed decisions when choosing a framework for their projects.
description: Discover the best .NET cross-platform UI frameworks for your projects. This comprehensive analysis explores the pros and cons of each framework, empowering developers to make informed decisions. Choose the right framework and unlock the potential of cross-platform development.
tags: Visual-Studio .NET
categories: [History, .NET]
permalink: /the-story-about-net-cross-platform-ui-frameworks-dd4a9433d0ea
Expand Down
2 changes: 1 addition & 1 deletion _posts/2023/2023-9-10-how-to-use-antlr-4-on-net-in-2023.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: How to Use ANTLR 4 on .NET in 2023
description: A post about how to use ANTLR 4 on .NET in 2023.
description: Learn how to use ANTLR 4 on .NET in 2023 with updated runtime and tooling. This guide covers migration from older versions and highlights new features and changes.
tags: Visual-Studio .NET ANTLR
excerpt_separator: <!--more-->
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Brief Guide to Windows ARM64 Developers"
description: "A brief guide to Windows ARM64 developers, covering key aspects and considerations. Possibility to stay with x86/x64, ARM64 native development, specific notes to consider for web apps are all covered."
description: "A comprehensive guide for Windows ARM64 developers, exploring key aspects and considerations. Learn about the possibility of staying with x86/x64 platforms, leveraging ARM64 native development for better performance and efficiency, and specific notes to consider for web apps. Discover how to run IIS or IIS Express on ARM64 devices and utilize out-of-band modules. Get insights on the ASP.NET Core module for IIS and IIS Express, and uncover the potential of Windows ARM64 for your development projects."
tags: Windows IIS
excerpt_separator: <!--more-->
---
Expand Down

0 comments on commit 12039b5

Please sign in to comment.