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-----
(https://postimg.cc/dDdDD0h1)
(https://postimg.cc/JHc1xGXQ)
You have to import the root and the intermediate sepatately now.
one cert per import.