OPNsense Forum

English Forums => 26.7, 26.10 Series => Topic started by: chandrayandeepak on October 31, 2026, 07:17:15 AM

Title: Unable to import Trust Authorities after upgrade to v26.7.8
Post by: chandrayandeepak on October 31, 2026, 07:17:15 AM
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.
Title: Re: Unable to import Trust Authorities after upgrade to v26.7.8
Post by: franco on October 31, 2026, 08:20:10 AM
How does the private key start and end with? The "----" parts I mean.


Cheers,
Franco
Title: Re: Unable to import Trust Authorities after upgrade to v26.7.8
Post by: chandrayandeepak on October 31, 2026, 10:09:22 AM
Importing RootCA and Intermediate, not using Private key, just the certificate.
Title: Re: Unable to import Trust Authorities after upgrade to v26.7.8
Post by: franco on October 31, 2026, 10:12:48 AM
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
Title: Re: Unable to import Trust Authorities after upgrade to v26.7.8
Post by: chandrayandeepak on October 31, 2026, 11:52:00 AM
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)
Title: Re: Unable to import Trust Authorities after upgrade to v26.7.8
Post by: Monviech (Cedrik) on October 31, 2026, 01:25:32 PM
You have to import the root and the intermediate sepatately now.

one cert per import.