Unable to import Trust Authorities after upgrade to v26.7.8

Started by chandrayandeepak, Today at 07:17:15 AM

Previous topic - Next topic
After upgrade to v26.7.8, unable to import Private CA in trust authorities, throwing error "Only a single private key is allowed (found 0 sections)". Same works fine in earlier versions.

How does the private key start and end with? The "----" parts I mean.


Cheers,
Franco

Importing RootCA and Intermediate, not using Private key, just the certificate.

Please take note of:

https://github.com/opnsense/changelog/blob/16a1fae3e4c0e4a2faccccf100e8c4045caec966/community/26.7/26.7.8#L18-L22

If it's just public certs please attach them here and describe exactly how you are trying to add them so we can reproduce as well.


Thanks,
Franco

They are Private authority certificates, already using in earlier versions of OPNsense CE. We follow:

System -> Trust -> Authorities -> Add -> Import an existing Certificate Authority and paste. Screenshots attached.

BTW, we were able to import leaf certificate successfully.

-----BEGIN CERTIFICATE-----
....
-----END CERTIFICATE-----




You have to import the root and the intermediate sepatately now.

one cert per import.
Hardware:
DEC740