Categories: SSL

SSL installation error on IIS ASN1 bad tag value met.

When you try to install a certificate in IIS you may see error like ASN1 bad tag value. You can d o below steps to fix it.

Step1: Install the certificate using MMC

Open the Certificate Snap-In from within the MMC
Start -> Run -> Type “mmc” -> File -> Add/Remove Snap-in -> Add -> Certificates

Add Current User account.
My User Account -> Finish.
Add Local Computer account.
Computer account -> Local Computer -> Finish.
Close Add Standalone Snap-in.

Step2: Import the certificate to Personal Certificate Folder

Step3: Repair the certificate

Second, double-click the crt certificate file you just imported, select the Details tab, scroll all the way down to Thumbprint and highlight Thumbprint.  In the lower pane, block and copy all the letters of the thumbp Open the command prompt and run this command: Certutil /?

certutil –repairstore my “13 96 cd 96 d5 15 ff 03 b9 2b c5 9a 22 a8 38 89 1e 25 5a 40”  ( replace the charcters in side the quote with what you see from above step)

Now if you got back to IIS, you should see the certificate.

Hosting Ahead

Share
Published by
Hosting Ahead

Recent Posts

Run composer with different PHP version

If multiple PHP versions are installed on your server you need to tell the composer…

2 years ago

How to Install WordPress using WordPress Toolkit in cPanel

Wordpress toolkit allows the installation, configuration, and management of Wordpress. The first step is to…

3 years ago

Configure OpenVPN Client Devices for Andriod

These instructions cover installing and configuring the OpenVPN Connect app  Client-Side Configurations: Android There are…

3 years ago

The certificate chain was issued by an authority that is not trusted | SQL Server

This error may appear when you try to connect to Microsft SQL server or you…

4 years ago

Free website hosting support in this COVID pandemic

Hello everyone, The COVID-19 should have affected almost everyone in a way or another. When…

4 years ago

Amazon workspaces to build a secure work from home cloud infrastructure

Based on the current Covid19 scenario, several companies asked employees to work from home. Google…

4 years ago