Skip to main content
Tweeted twitter.com/StackSecurity/status/1067614471496114176
added 8 characters in body
Source Link
ceph3us
  • 161
  • 1
  • 6
  • Import the key and cert (PEM format) in slot 9a:

       $ yubico-piv-tool -s 9a -a import-key -i key.pem
       $ yubico-piv-tool -s 9a -a import-certificate -i cert.pem
    

$ yubico-piv-tool -s 9a -a import-certificate -i cert.pem

  • Import the key and cert (PKCS12 format) in slot 9a:

       $ yubico-piv-tool -s 9a -a import-key -a import-cert -i key.p12 -K PKCS12
    
  • Import the key and cert (PEM format) in slot 9a:

       $ yubico-piv-tool -s 9a -a import-key -i key.pem
    

$ yubico-piv-tool -s 9a -a import-certificate -i cert.pem

  • Import the key and cert (PKCS12 format) in slot 9a:

       $ yubico-piv-tool -s 9a -a import-key -a import-cert -i key.p12 -K PKCS12
    
  • Import the key and cert (PEM format) in slot 9a:

       $ yubico-piv-tool -s 9a -a import-key -i key.pem
       $ yubico-piv-tool -s 9a -a import-certificate -i cert.pem
    
  • Import the key and cert (PKCS12 format) in slot 9a:

       $ yubico-piv-tool -s 9a -a import-key -a import-cert -i key.p12 -K PKCS12
    
replaced http://security.stackexchange.com/ with https://security.stackexchange.com/
Source Link
Loading
added 4 characters in body
Source Link
ceph3us
  • 161
  • 1
  • 6
Loading
added 4 characters in body
Source Link
ceph3us
  • 161
  • 1
  • 6
Loading
added 149 characters in body
Source Link
ceph3us
  • 161
  • 1
  • 6
Loading
added 531 characters in body
Source Link
ceph3us
  • 161
  • 1
  • 6
Loading
Source Link
ceph3us
  • 161
  • 1
  • 6
Loading