Data storage
TrueNAS Enterprise

Import TLS certificates into TrueNAS

3min
this section explains how to import the truenas tls certificate, truenas private key, and ca certificates into truenas through the web interface before importing, you must export the client private key from the pkcs #12 file by using openssl perform the following tasks 1 | extract the client private key from the pkcs #12 file open a terminal application that has openssl installed go to the directory with the pkcs #12 file run the following openssl command to extract the clear client private key from the pkcs #12 file and save it to a new pem file $ openssl pkcs12 in pki p12 out client key pem nodes nocerts the command prompts for the import password enter the password contained in the pki password txt file 2 |import the ca certificate log in to the truenas web interface go to system > cas and select \[ add ] in the type drop down menu, select import ca enter a name for the ca, then paste the ca certificates from the ca chain pem file into the certificate field leave the private key and passphrase fields empty and select \[ submit ] 3 | import the truenas certificate log in to the truenas web interface go to system > certificates and select \[ add ] in the type drop down menu, select import certificate enter a name for the certificate, and paste the truenas certificate ( client cert pem ) and private key ( client key pem ) into the appropriate fields leave the passphrase field empty and select \[ submit ]