OPNsense Forum

English Forums => General Discussion => Topic started by: Q3tNHn on December 10, 2024, 08:30:23 PM

Title: How to use customized country code for certificate?
Post by: Q3tNHn on December 10, 2024, 08:30:23 PM
Hi all, I want to use customized country code for the certificate but I can only choose from current countries for my imported self-signed certificates. Can we allow users to define their own country code for the certificates? Thank you
Title: Re: How to use customized country code for certificate?
Post by: bartjsmit on December 10, 2024, 10:02:55 PM
You can create your own self-signed CA cert and import it, or create a CSR and have OPNsense sign it.

OpenSSL is a very versatile tool with many guides and videos. :)
Title: Re: How to use customized country code for certificate?
Post by: Q3tNHn on December 11, 2024, 08:45:06 PM
The country code was not belong to any real country in the world, but the certificate wizard forced the country code to Netherlands. I  have to choose a real country from the drop list, I don't want that, I want to input the country code manually.
Title: Re: How to use customized country code for certificate?
Post by: Patrick M. Hausen on December 11, 2024, 08:47:13 PM
Create your certificate signing request with openssl on any computer - Mac, Linux, FreeBSD, Windows Subsystem for Linux - and sign it in OPNsense. Or if this is for the CA, generate and sign the entire CA and then import.