Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 21st, 2012  |  syntax: Objective C  |  size: 2.00 KB  |  hits: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Arvinds-iMac:PushNotificationsdemocertificates Arvind$ openssl pkcs12 -nocerts -out PushChatKey.pem -in Arvind Kumar.p12
  2. Usage: pkcs12 [options]
  3. where options are
  4. -export       output PKCS12 file
  5. -chain        add certificate chain
  6. -inkey file   private key if not infile
  7. -certfile f   add all certs in f
  8. -CApath arg   - PEM format directory of CA's
  9. -CAfile arg   - PEM format file of CA's
  10. -name "name"  use name as friendly name
  11. -caname "nm"  use nm as CA friendly name (can be used more than once).
  12. -in  infile   input filename
  13. -out outfile  output filename
  14. -noout        don't output anything, just verify.
  15. -nomacver     don't verify MAC.
  16. -nocerts      don't output certificates.
  17. -clcerts      only output client certificates.
  18. -cacerts      only output CA certificates.
  19. -nokeys       don't output private keys.
  20. -info         give info about PKCS#12 structure.
  21. -des          encrypt private keys with DES
  22. -des3         encrypt private keys with triple DES (default)
  23. -seed         encrypt private keys with seed
  24. -aes128, -aes192, -aes256
  25.               encrypt PEM output with cbc aes
  26. -nodes        don't encrypt private keys
  27. -noiter       don't use encryption iteration
  28. -maciter      use MAC iteration
  29. -twopass      separate MAC, encryption passwords
  30. -descert      encrypt PKCS#12 certificates with triple DES (default RC2-40)
  31. -certpbe alg  specify certificate PBE algorithm (default RC2-40)
  32. -keypbe alg   specify private key PBE algorithm (default 3DES)
  33. -keyex        set MS key exchange type
  34. -keysig       set MS key signature type
  35. -password p   set import/export password source
  36. -passin p     input file pass phrase source
  37. -passout p    output file pass phrase source
  38. -engine e     use engine e, possibly a hardware device.
  39. -rand file:file:...
  40.               load the file (or the files in the directory) into
  41.               the random number generator
  42. -CSP name     Microsoft CSP name
  43. -LMK          Add local machine keyset attribute to private key
  44. Arvinds-iMac:PushNotificationsdemocertificates Arvind$