Invalid Public Key Security Object File This File Is Invalid For Use As The Following Personal Information Exchange

When installing the SSL Certificate on VM then getting an error "Invalid Public Key Security Object File: This file is invalid for use as the following: Personal Information Exchange."

Error Message:

image (14).png



Root Cause: The certificate pfx file might be present on a network share which is mapped as a drive.


Resolution:

  1. Check the properties of the pfx certificate & unblock it if found in blocked state
  2. Copy & place on local desktop or some real hard drive(C:\)
  3. Install the certificate successfully.