About Loading A Digitally Signed Custom Program File

A custom program file, whether digitally signed or not, can be loaded using the same techniques, but there are some additional considerations you might want to consider when deploying a digitally signed file.

When loading a custom program file that has been digitally signed, the AutoCAD-based program verifies the digital signature attached to the file. A message box is displayed, whether the digital signature could be verified, that allows the user to load or not load the program file into the drawing environment.

The following outlines the conditions that affect the information displayed in the message box upon the loading of a custom program file.

Digital signature verified and the file hasn't been changed


Recommendation: File should be safe to load, but you will want to verify the source of the file if it is being loaded the first time.

Solution: Load and use the file as expected. Optionally, trust the publisher to avoid the message box in the future for all files signed by the publisher.

Digital signature couldn't be verified


A digital signature can't be verified for the following reasons:

  • File isn't signed or was incorrectly signed
  • File is unsigned, but the digital certificate to validate against isn't installed in the 'Trusted Root Certification Authorities' store

Recommendation: Verify the source of the file and that the digital certificate used to sign the file has been installed.

Solution: Install the digital certificate used to sign the file into the 'Trusted Root Certification Authorities' store. See "To Import a Digital Certificate" for information on how to install the digital certificate, if you or your company made the certificate.

Digital signature is invalid as a result of the file being changed after it was signed


Recommendation: Don't load the file.

Solution: Obtain a version of the file that has been verified and signed. See "About Digitally Signing Custom Program Files" for information on digitally signing a file.