AIA Location #2 - Unable to download

Author by Leon Harmon

While setting up my Two-Tier PKI Hierarchy, I ran into an error on my issuing CA where my AIA Location #2 was unable to download. I viewed this error using the PKIVIEW tool.

Pic1.png

 

 

I right clicked on the AIA Location # 2 and copied the URL. From there, I opened a web browser and paste the URL to get more details on the error I was receiving.  A 404 Error displayed in the web browser and it stated that the file might have been removed, the name has changed, or the file is temporarily unavailable. 

Pic2.png

 

 

First, I checked my offline CA to make sure that my CA had the proper extension for the AIA location. To check this, I did the following:

  1. After logging into my offline CA, I went to the Certification Authority by typing in Certification Authority in the search bar.
  2. In the Certification Authority, right click on the Root CA and go to properties

CertificateAuthorityUseThisFirst.png

  1. From there, I checked to see if the AIA extension had the proper naming convention. If the naming convention of the AIA extension is correct, then that means my Certificate was generated with the correct extension (The extension I needed to check: http://pki.harmontech.com/aia/<CaName><CertificateName>.crt)

Certificate-authority.png

 

 

 

After making sure the AIA extension was correct, I logged back into my Issuing CA to check the PKIVIEW to look at the AIA Location #2 error once again. Below are the steps to do this:

  1. After logging into my Issuing CA, I typed in pkiview.msc in the search bar

pkiview-mscpart1.png

  1. Once PKIVIEW opens, I checked the location of the AIA Location #2 and saw that it was looking for a .crt file name HARMON ROOT CA.crt 

pkiview-msc-part2.png

4thPic.png

 

 

From there, I did the following troubleshooting steps:

  1. See if my ROOT CA was in the correct location (In this example, my certificate will need to be in this correct path: E:\inetpub\wwwroot\PKI\aia.)
  2. Check and see if my ROOT CA is properly named within m(Certificate name needs to be named HARMON ROOT CA.crt).

PKIpic2.png

 

 

 

I noticed that the .crt file located in the AIA folder was named MKEPKI01_HARMON ROOT CA.crt instead of HARMON ROOT CA.crt. From there, I figured out that the cause of this error is that the PKI is looking for HARMON ROOT CA.crt instead of MKEPKI01_HARMON ROOT CA.crt. I renamed the MKEPKI01_HARMON ROOT CA.crt file to HARMON ROOT CA.crt. After doing this, my AIA Location #2 status went from Unable to Download to OK.

LastPic.png

Tags in this Article