Skip to main content

Hi tried to use my ssl in pfx format with password but getting this error

Certificate validation found following warnings: Enhanced key usage "Code signing" not found in certificate

Can anyone advise what this error means?

Hi @roylim1988, Have you been able to resolve this particular issue?


Hi Roy,

“code signing” is one of the possible extended keys found in an x509 certificate. You can view the x509 certificate with common tools such as openssl or keytool. openssl command:

openssl x509 -in <your certificate> -text -noout

Be sure to to run this on the x509 certificate, not the PFX bundle which contains multiple x509 certificates. If it was created with the code signing you will see it listed in the output. Code signing is not enabled by default and must be specified when creating the x509 certificate prior to sending it to be signed by a CA.

Please see the following IFS documentation on the topic. Quote:

Code Signing

Validates that the code signed with this certificate  is tied to the company named in the certificate.

The requirement from IFS side is a Domain Validated Server Certificate. Normally a Domain Validated Server Certificate can be used for code signing with F1mage in the installer. The installer will not warn if the OHS certificate is used for client signing by F1mage even if the Certificate is not registered as a code signing certificate. r<omitted>
The more accurate way of signing the IEE client with F1mage is to have a separate code signing certificate for IEE.

As indicated here, if you do not specify a separate certificate for signing the ClickOnce package via F1Mage and just use the same certificate as the web server then this step can be completed even if the web server certificate is not enabled for code signing.

Best regards -- Ben