Difference between revisions of "IPA RA Agent Setup"

From Dogtag
Jump to: navigation, search
(Created page with "= Importing RA Agent Certificate and Key = <pre> $ openssl pkcs12 -export \ -in /var/lib/ipa/ra-agent.pem \ -inkey /var/lib/ipa/ra-agent.key \ -out ra-agent.p12 \...")
 
m (Importing RA Agent Certificate and Key)
Line 1: Line 1:
 
= Importing RA Agent Certificate and Key =
 
= Importing RA Agent Certificate and Key =
 +
 +
First, import the certificate and key into a PKCS #12 file:
  
 
<pre>
 
<pre>
Line 8: Line 10:
 
     -name ra-agent \
 
     -name ra-agent \
 
     -passout file:password.txt
 
     -passout file:password.txt
 +
</pre>
 +
 +
Then import the PKCS #12 file into the NSS database:
 +
 +
<pre>
 +
$ pki pkcs12-import --pkcs12-file ra-agent.p12 --pkcs12-password-file password.txt
 
</pre>
 
</pre>
  

Revision as of 19:14, 10 October 2019

Importing RA Agent Certificate and Key

First, import the certificate and key into a PKCS #12 file:

$ openssl pkcs12 -export \
    -in /var/lib/ipa/ra-agent.pem \
    -inkey /var/lib/ipa/ra-agent.key \
    -out ra-agent.p12 \
    -name ra-agent \
    -passout file:password.txt

Then import the PKCS #12 file into the NSS database:

$ pki pkcs12-import --pkcs12-file ra-agent.p12 --pkcs12-password-file password.txt

See Also