Search code examples
opensslssl-certificatex509

Intermediate CA certificate has no valid signature


I've followed the Jamie's tutorial to create CA root and Intermediate CA certificates over Win7 using -subj option for subject info and they passed the openssl verify command with OK.

openssl genrsa -aes256 -out intermediate/private/intermediate.key.pem 4096
openssl req -config intermediate/openssl.cnf -new -sha256 -key intermediate/private/intermediate.key.pem -out intermediate/csr/intermediate.csr.pem -subj "/CN=AC Pruebas Inter (4096)/O=ORG S.A. de C.V./OU=Org unit/[email protected]/streetAddress=myStreet, myNumber/postalCode=09999/C=MX/ST=my City/L=my Locality/2.5.4.45=ORG990701NN3/1.2.840.113549.1.9.2=Responsable: ORG"
openssl ca -config openssl.cnf -extensions v3_intermediate_ca -days 3650 -notext -md sha256 -in intermediate/csr/intermediate.csr.pem -out intermediate/certs/intermediate.cert.pem

Then I renamed Inter CA certificate extension to .CRT in order to open it with windows client app, but in Certification path Tab at the status certificate field, it shows an error message saying that the certificate has no valid signature. I've installed the CA root certificate in the trusted root certificate store but the error message remains.

enter image description here

Which could it be the problem?


Solution

  • Problem solved, I was installing root cert in the wrong way using the Install button of windows client. The correct way is described in this MS TechNet paper using MMC Windows Utility. Once the root cert was correctly installed the error message dissapeared.