1ebfedea0SLionel Sambuc 2ebfedea0SLionel Sambuc=pod 3ebfedea0SLionel Sambuc 4ebfedea0SLionel Sambuc=head1 NAME 5ebfedea0SLionel Sambuc 6ebfedea0SLionel Sambucpkcs12 - PKCS#12 file utility 7ebfedea0SLionel Sambuc 8ebfedea0SLionel Sambuc=head1 SYNOPSIS 9ebfedea0SLionel Sambuc 10ebfedea0SLionel SambucB<openssl> B<pkcs12> 11ebfedea0SLionel Sambuc[B<-export>] 12ebfedea0SLionel Sambuc[B<-chain>] 13ebfedea0SLionel Sambuc[B<-inkey filename>] 14ebfedea0SLionel Sambuc[B<-certfile filename>] 15ebfedea0SLionel Sambuc[B<-name name>] 16ebfedea0SLionel Sambuc[B<-caname name>] 17ebfedea0SLionel Sambuc[B<-in filename>] 18ebfedea0SLionel Sambuc[B<-out filename>] 19ebfedea0SLionel Sambuc[B<-noout>] 20ebfedea0SLionel Sambuc[B<-nomacver>] 21ebfedea0SLionel Sambuc[B<-nocerts>] 22ebfedea0SLionel Sambuc[B<-clcerts>] 23ebfedea0SLionel Sambuc[B<-cacerts>] 24ebfedea0SLionel Sambuc[B<-nokeys>] 25ebfedea0SLionel Sambuc[B<-info>] 26ebfedea0SLionel Sambuc[B<-des | -des3 | -idea | -aes128 | -aes192 | -aes256 | -camellia128 | -camellia192 | -camellia256 | -nodes>] 27ebfedea0SLionel Sambuc[B<-noiter>] 28ebfedea0SLionel Sambuc[B<-maciter | -nomaciter | -nomac>] 29ebfedea0SLionel Sambuc[B<-twopass>] 30ebfedea0SLionel Sambuc[B<-descert>] 31ebfedea0SLionel Sambuc[B<-certpbe cipher>] 32ebfedea0SLionel Sambuc[B<-keypbe cipher>] 33ebfedea0SLionel Sambuc[B<-macalg digest>] 34ebfedea0SLionel Sambuc[B<-keyex>] 35ebfedea0SLionel Sambuc[B<-keysig>] 36ebfedea0SLionel Sambuc[B<-password arg>] 37ebfedea0SLionel Sambuc[B<-passin arg>] 38ebfedea0SLionel Sambuc[B<-passout arg>] 39ebfedea0SLionel Sambuc[B<-rand file(s)>] 40ebfedea0SLionel Sambuc[B<-CAfile file>] 41ebfedea0SLionel Sambuc[B<-CApath dir>] 42ebfedea0SLionel Sambuc[B<-CSP name>] 43ebfedea0SLionel Sambuc 44ebfedea0SLionel Sambuc=head1 DESCRIPTION 45ebfedea0SLionel Sambuc 46ebfedea0SLionel SambucThe B<pkcs12> command allows PKCS#12 files (sometimes referred to as 47ebfedea0SLionel SambucPFX files) to be created and parsed. PKCS#12 files are used by several 48ebfedea0SLionel Sambucprograms including Netscape, MSIE and MS Outlook. 49ebfedea0SLionel Sambuc 50ebfedea0SLionel Sambuc=head1 COMMAND OPTIONS 51ebfedea0SLionel Sambuc 52ebfedea0SLionel SambucThere are a lot of options the meaning of some depends of whether a PKCS#12 file 53ebfedea0SLionel Sambucis being created or parsed. By default a PKCS#12 file is parsed. A PKCS#12 54ebfedea0SLionel Sambucfile can be created by using the B<-export> option (see below). 55ebfedea0SLionel Sambuc 56ebfedea0SLionel Sambuc=head1 PARSING OPTIONS 57ebfedea0SLionel Sambuc 58ebfedea0SLionel Sambuc=over 4 59ebfedea0SLionel Sambuc 60ebfedea0SLionel Sambuc=item B<-in filename> 61ebfedea0SLionel Sambuc 62ebfedea0SLionel SambucThis specifies filename of the PKCS#12 file to be parsed. Standard input is used 63ebfedea0SLionel Sambucby default. 64ebfedea0SLionel Sambuc 65ebfedea0SLionel Sambuc=item B<-out filename> 66ebfedea0SLionel Sambuc 67ebfedea0SLionel SambucThe filename to write certificates and private keys to, standard output by 68ebfedea0SLionel Sambucdefault. They are all written in PEM format. 69ebfedea0SLionel Sambuc 70*0a6a1f1dSLionel Sambuc=item B<-passin arg> 71ebfedea0SLionel Sambuc 72ebfedea0SLionel Sambucthe PKCS#12 file (i.e. input file) password source. For more information about 73ebfedea0SLionel Sambucthe format of B<arg> see the B<PASS PHRASE ARGUMENTS> section in 74ebfedea0SLionel SambucL<openssl(1)|openssl(1)>. 75ebfedea0SLionel Sambuc 76ebfedea0SLionel Sambuc=item B<-passout arg> 77ebfedea0SLionel Sambuc 78*0a6a1f1dSLionel Sambucpass phrase source to encrypt any outputted private keys with. For more 79ebfedea0SLionel Sambucinformation about the format of B<arg> see the B<PASS PHRASE ARGUMENTS> section 80ebfedea0SLionel Sambucin L<openssl(1)|openssl(1)>. 81ebfedea0SLionel Sambuc 82*0a6a1f1dSLionel Sambuc=item B<-password arg> 83*0a6a1f1dSLionel Sambuc 84*0a6a1f1dSLionel SambucWith -export, -password is equivalent to -passout. 85*0a6a1f1dSLionel SambucOtherwise, -password is equivalent to -passin. 86*0a6a1f1dSLionel Sambuc 87ebfedea0SLionel Sambuc=item B<-noout> 88ebfedea0SLionel Sambuc 89ebfedea0SLionel Sambucthis option inhibits output of the keys and certificates to the output file 90ebfedea0SLionel Sambucversion of the PKCS#12 file. 91ebfedea0SLionel Sambuc 92ebfedea0SLionel Sambuc=item B<-clcerts> 93ebfedea0SLionel Sambuc 94ebfedea0SLionel Sambuconly output client certificates (not CA certificates). 95ebfedea0SLionel Sambuc 96ebfedea0SLionel Sambuc=item B<-cacerts> 97ebfedea0SLionel Sambuc 98ebfedea0SLionel Sambuconly output CA certificates (not client certificates). 99ebfedea0SLionel Sambuc 100ebfedea0SLionel Sambuc=item B<-nocerts> 101ebfedea0SLionel Sambuc 102ebfedea0SLionel Sambucno certificates at all will be output. 103ebfedea0SLionel Sambuc 104ebfedea0SLionel Sambuc=item B<-nokeys> 105ebfedea0SLionel Sambuc 106ebfedea0SLionel Sambucno private keys will be output. 107ebfedea0SLionel Sambuc 108ebfedea0SLionel Sambuc=item B<-info> 109ebfedea0SLionel Sambuc 110ebfedea0SLionel Sambucoutput additional information about the PKCS#12 file structure, algorithms used and 111ebfedea0SLionel Sambuciteration counts. 112ebfedea0SLionel Sambuc 113ebfedea0SLionel Sambuc=item B<-des> 114ebfedea0SLionel Sambuc 115ebfedea0SLionel Sambucuse DES to encrypt private keys before outputting. 116ebfedea0SLionel Sambuc 117ebfedea0SLionel Sambuc=item B<-des3> 118ebfedea0SLionel Sambuc 119ebfedea0SLionel Sambucuse triple DES to encrypt private keys before outputting, this is the default. 120ebfedea0SLionel Sambuc 121ebfedea0SLionel Sambuc=item B<-idea> 122ebfedea0SLionel Sambuc 123ebfedea0SLionel Sambucuse IDEA to encrypt private keys before outputting. 124ebfedea0SLionel Sambuc 125ebfedea0SLionel Sambuc=item B<-aes128>, B<-aes192>, B<-aes256> 126ebfedea0SLionel Sambuc 127ebfedea0SLionel Sambucuse AES to encrypt private keys before outputting. 128ebfedea0SLionel Sambuc 129ebfedea0SLionel Sambuc=item B<-camellia128>, B<-camellia192>, B<-camellia256> 130ebfedea0SLionel Sambuc 131ebfedea0SLionel Sambucuse Camellia to encrypt private keys before outputting. 132ebfedea0SLionel Sambuc 133ebfedea0SLionel Sambuc=item B<-nodes> 134ebfedea0SLionel Sambuc 135ebfedea0SLionel Sambucdon't encrypt the private keys at all. 136ebfedea0SLionel Sambuc 137ebfedea0SLionel Sambuc=item B<-nomacver> 138ebfedea0SLionel Sambuc 139ebfedea0SLionel Sambucdon't attempt to verify the integrity MAC before reading the file. 140ebfedea0SLionel Sambuc 141ebfedea0SLionel Sambuc=item B<-twopass> 142ebfedea0SLionel Sambuc 143ebfedea0SLionel Sambucprompt for separate integrity and encryption passwords: most software 144ebfedea0SLionel Sambucalways assumes these are the same so this option will render such 145ebfedea0SLionel SambucPKCS#12 files unreadable. 146ebfedea0SLionel Sambuc 147ebfedea0SLionel Sambuc=back 148ebfedea0SLionel Sambuc 149ebfedea0SLionel Sambuc=head1 FILE CREATION OPTIONS 150ebfedea0SLionel Sambuc 151ebfedea0SLionel Sambuc=over 4 152ebfedea0SLionel Sambuc 153ebfedea0SLionel Sambuc=item B<-export> 154ebfedea0SLionel Sambuc 155ebfedea0SLionel SambucThis option specifies that a PKCS#12 file will be created rather than 156ebfedea0SLionel Sambucparsed. 157ebfedea0SLionel Sambuc 158ebfedea0SLionel Sambuc=item B<-out filename> 159ebfedea0SLionel Sambuc 160ebfedea0SLionel SambucThis specifies filename to write the PKCS#12 file to. Standard output is used 161ebfedea0SLionel Sambucby default. 162ebfedea0SLionel Sambuc 163ebfedea0SLionel Sambuc=item B<-in filename> 164ebfedea0SLionel Sambuc 165ebfedea0SLionel SambucThe filename to read certificates and private keys from, standard input by 166ebfedea0SLionel Sambucdefault. They must all be in PEM format. The order doesn't matter but one 167ebfedea0SLionel Sambucprivate key and its corresponding certificate should be present. If additional 168ebfedea0SLionel Sambuccertificates are present they will also be included in the PKCS#12 file. 169ebfedea0SLionel Sambuc 170ebfedea0SLionel Sambuc=item B<-inkey filename> 171ebfedea0SLionel Sambuc 172ebfedea0SLionel Sambucfile to read private key from. If not present then a private key must be present 173ebfedea0SLionel Sambucin the input file. 174ebfedea0SLionel Sambuc 175ebfedea0SLionel Sambuc=item B<-name friendlyname> 176ebfedea0SLionel Sambuc 177ebfedea0SLionel SambucThis specifies the "friendly name" for the certificate and private key. This 178ebfedea0SLionel Sambucname is typically displayed in list boxes by software importing the file. 179ebfedea0SLionel Sambuc 180ebfedea0SLionel Sambuc=item B<-certfile filename> 181ebfedea0SLionel Sambuc 182ebfedea0SLionel SambucA filename to read additional certificates from. 183ebfedea0SLionel Sambuc 184ebfedea0SLionel Sambuc=item B<-caname friendlyname> 185ebfedea0SLionel Sambuc 186ebfedea0SLionel SambucThis specifies the "friendly name" for other certificates. This option may be 187ebfedea0SLionel Sambucused multiple times to specify names for all certificates in the order they 188ebfedea0SLionel Sambucappear. Netscape ignores friendly names on other certificates whereas MSIE 189ebfedea0SLionel Sambucdisplays them. 190ebfedea0SLionel Sambuc 191ebfedea0SLionel Sambuc=item B<-pass arg>, B<-passout arg> 192ebfedea0SLionel Sambuc 193ebfedea0SLionel Sambucthe PKCS#12 file (i.e. output file) password source. For more information about 194ebfedea0SLionel Sambucthe format of B<arg> see the B<PASS PHRASE ARGUMENTS> section in 195ebfedea0SLionel SambucL<openssl(1)|openssl(1)>. 196ebfedea0SLionel Sambuc 197ebfedea0SLionel Sambuc=item B<-passin password> 198ebfedea0SLionel Sambuc 199ebfedea0SLionel Sambucpass phrase source to decrypt any input private keys with. For more information 200ebfedea0SLionel Sambucabout the format of B<arg> see the B<PASS PHRASE ARGUMENTS> section in 201ebfedea0SLionel SambucL<openssl(1)|openssl(1)>. 202ebfedea0SLionel Sambuc 203ebfedea0SLionel Sambuc=item B<-chain> 204ebfedea0SLionel Sambuc 205ebfedea0SLionel Sambucif this option is present then an attempt is made to include the entire 206ebfedea0SLionel Sambuccertificate chain of the user certificate. The standard CA store is used 207ebfedea0SLionel Sambucfor this search. If the search fails it is considered a fatal error. 208ebfedea0SLionel Sambuc 209ebfedea0SLionel Sambuc=item B<-descert> 210ebfedea0SLionel Sambuc 211ebfedea0SLionel Sambucencrypt the certificate using triple DES, this may render the PKCS#12 212ebfedea0SLionel Sambucfile unreadable by some "export grade" software. By default the private 213ebfedea0SLionel Sambuckey is encrypted using triple DES and the certificate using 40 bit RC2. 214ebfedea0SLionel Sambuc 215ebfedea0SLionel Sambuc=item B<-keypbe alg>, B<-certpbe alg> 216ebfedea0SLionel Sambuc 217ebfedea0SLionel Sambucthese options allow the algorithm used to encrypt the private key and 218ebfedea0SLionel Sambuccertificates to be selected. Any PKCS#5 v1.5 or PKCS#12 PBE algorithm name 219ebfedea0SLionel Sambuccan be used (see B<NOTES> section for more information). If a a cipher name 220ebfedea0SLionel Sambuc(as output by the B<list-cipher-algorithms> command is specified then it 221ebfedea0SLionel Sambucis used with PKCS#5 v2.0. For interoperability reasons it is advisable to only 222ebfedea0SLionel Sambucuse PKCS#12 algorithms. 223ebfedea0SLionel Sambuc 224ebfedea0SLionel Sambuc=item B<-keyex|-keysig> 225ebfedea0SLionel Sambuc 226ebfedea0SLionel Sambucspecifies that the private key is to be used for key exchange or just signing. 227ebfedea0SLionel SambucThis option is only interpreted by MSIE and similar MS software. Normally 228ebfedea0SLionel Sambuc"export grade" software will only allow 512 bit RSA keys to be used for 229ebfedea0SLionel Sambucencryption purposes but arbitrary length keys for signing. The B<-keysig> 230ebfedea0SLionel Sambucoption marks the key for signing only. Signing only keys can be used for 231ebfedea0SLionel SambucS/MIME signing, authenticode (ActiveX control signing) and SSL client 232ebfedea0SLionel Sambucauthentication, however due to a bug only MSIE 5.0 and later support 233ebfedea0SLionel Sambucthe use of signing only keys for SSL client authentication. 234ebfedea0SLionel Sambuc 235ebfedea0SLionel Sambuc=item B<-macalg digest> 236ebfedea0SLionel Sambuc 237ebfedea0SLionel Sambucspecify the MAC digest algorithm. If not included them SHA1 will be used. 238ebfedea0SLionel Sambuc 239ebfedea0SLionel Sambuc=item B<-nomaciter>, B<-noiter> 240ebfedea0SLionel Sambuc 241ebfedea0SLionel Sambucthese options affect the iteration counts on the MAC and key algorithms. 242ebfedea0SLionel SambucUnless you wish to produce files compatible with MSIE 4.0 you should leave 243ebfedea0SLionel Sambucthese options alone. 244ebfedea0SLionel Sambuc 245ebfedea0SLionel SambucTo discourage attacks by using large dictionaries of common passwords the 246ebfedea0SLionel Sambucalgorithm that derives keys from passwords can have an iteration count applied 247ebfedea0SLionel Sambucto it: this causes a certain part of the algorithm to be repeated and slows it 248ebfedea0SLionel Sambucdown. The MAC is used to check the file integrity but since it will normally 249ebfedea0SLionel Sambuchave the same password as the keys and certificates it could also be attacked. 250ebfedea0SLionel SambucBy default both MAC and encryption iteration counts are set to 2048, using 251ebfedea0SLionel Sambucthese options the MAC and encryption iteration counts can be set to 1, since 252ebfedea0SLionel Sambucthis reduces the file security you should not use these options unless you 253ebfedea0SLionel Sambucreally have to. Most software supports both MAC and key iteration counts. 254ebfedea0SLionel SambucMSIE 4.0 doesn't support MAC iteration counts so it needs the B<-nomaciter> 255ebfedea0SLionel Sambucoption. 256ebfedea0SLionel Sambuc 257ebfedea0SLionel Sambuc=item B<-maciter> 258ebfedea0SLionel Sambuc 259ebfedea0SLionel SambucThis option is included for compatibility with previous versions, it used 260ebfedea0SLionel Sambucto be needed to use MAC iterations counts but they are now used by default. 261ebfedea0SLionel Sambuc 262ebfedea0SLionel Sambuc=item B<-nomac> 263ebfedea0SLionel Sambuc 264ebfedea0SLionel Sambucdon't attempt to provide the MAC integrity. 265ebfedea0SLionel Sambuc 266ebfedea0SLionel Sambuc=item B<-rand file(s)> 267ebfedea0SLionel Sambuc 268ebfedea0SLionel Sambuca file or files containing random data used to seed the random number 269ebfedea0SLionel Sambucgenerator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>). 270ebfedea0SLionel SambucMultiple files can be specified separated by a OS-dependent character. 271ebfedea0SLionel SambucThe separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for 272ebfedea0SLionel Sambucall others. 273ebfedea0SLionel Sambuc 274ebfedea0SLionel Sambuc=item B<-CAfile file> 275ebfedea0SLionel Sambuc 276ebfedea0SLionel SambucCA storage as a file. 277ebfedea0SLionel Sambuc 278ebfedea0SLionel Sambuc=item B<-CApath dir> 279ebfedea0SLionel Sambuc 280ebfedea0SLionel SambucCA storage as a directory. This directory must be a standard certificate 281ebfedea0SLionel Sambucdirectory: that is a hash of each subject name (using B<x509 -hash>) should be 282ebfedea0SLionel Sambuclinked to each certificate. 283ebfedea0SLionel Sambuc 284ebfedea0SLionel Sambuc=item B<-CSP name> 285ebfedea0SLionel Sambuc 286ebfedea0SLionel Sambucwrite B<name> as a Microsoft CSP name. 287ebfedea0SLionel Sambuc 288ebfedea0SLionel Sambuc=back 289ebfedea0SLionel Sambuc 290ebfedea0SLionel Sambuc=head1 NOTES 291ebfedea0SLionel Sambuc 292ebfedea0SLionel SambucAlthough there are a large number of options most of them are very rarely 293ebfedea0SLionel Sambucused. For PKCS#12 file parsing only B<-in> and B<-out> need to be used 294ebfedea0SLionel Sambucfor PKCS#12 file creation B<-export> and B<-name> are also used. 295ebfedea0SLionel Sambuc 296ebfedea0SLionel SambucIf none of the B<-clcerts>, B<-cacerts> or B<-nocerts> options are present 297ebfedea0SLionel Sambucthen all certificates will be output in the order they appear in the input 298ebfedea0SLionel SambucPKCS#12 files. There is no guarantee that the first certificate present is 299ebfedea0SLionel Sambucthe one corresponding to the private key. Certain software which requires 300ebfedea0SLionel Sambuca private key and certificate and assumes the first certificate in the 301ebfedea0SLionel Sambucfile is the one corresponding to the private key: this may not always 302ebfedea0SLionel Sambucbe the case. Using the B<-clcerts> option will solve this problem by only 303ebfedea0SLionel Sambucoutputting the certificate corresponding to the private key. If the CA 304ebfedea0SLionel Sambuccertificates are required then they can be output to a separate file using 305ebfedea0SLionel Sambucthe B<-nokeys -cacerts> options to just output CA certificates. 306ebfedea0SLionel Sambuc 307ebfedea0SLionel SambucThe B<-keypbe> and B<-certpbe> algorithms allow the precise encryption 308ebfedea0SLionel Sambucalgorithms for private keys and certificates to be specified. Normally 309ebfedea0SLionel Sambucthe defaults are fine but occasionally software can't handle triple DES 310ebfedea0SLionel Sambucencrypted private keys, then the option B<-keypbe PBE-SHA1-RC2-40> can 311ebfedea0SLionel Sambucbe used to reduce the private key encryption to 40 bit RC2. A complete 312ebfedea0SLionel Sambucdescription of all algorithms is contained in the B<pkcs8> manual page. 313ebfedea0SLionel Sambuc 314ebfedea0SLionel Sambuc=head1 EXAMPLES 315ebfedea0SLionel Sambuc 316ebfedea0SLionel SambucParse a PKCS#12 file and output it to a file: 317ebfedea0SLionel Sambuc 318ebfedea0SLionel Sambuc openssl pkcs12 -in file.p12 -out file.pem 319ebfedea0SLionel Sambuc 320ebfedea0SLionel SambucOutput only client certificates to a file: 321ebfedea0SLionel Sambuc 322ebfedea0SLionel Sambuc openssl pkcs12 -in file.p12 -clcerts -out file.pem 323ebfedea0SLionel Sambuc 324ebfedea0SLionel SambucDon't encrypt the private key: 325ebfedea0SLionel Sambuc 326ebfedea0SLionel Sambuc openssl pkcs12 -in file.p12 -out file.pem -nodes 327ebfedea0SLionel Sambuc 328ebfedea0SLionel SambucPrint some info about a PKCS#12 file: 329ebfedea0SLionel Sambuc 330ebfedea0SLionel Sambuc openssl pkcs12 -in file.p12 -info -noout 331ebfedea0SLionel Sambuc 332ebfedea0SLionel SambucCreate a PKCS#12 file: 333ebfedea0SLionel Sambuc 334ebfedea0SLionel Sambuc openssl pkcs12 -export -in file.pem -out file.p12 -name "My Certificate" 335ebfedea0SLionel Sambuc 336ebfedea0SLionel SambucInclude some extra certificates: 337ebfedea0SLionel Sambuc 338ebfedea0SLionel Sambuc openssl pkcs12 -export -in file.pem -out file.p12 -name "My Certificate" \ 339ebfedea0SLionel Sambuc -certfile othercerts.pem 340ebfedea0SLionel Sambuc 341ebfedea0SLionel Sambuc=head1 BUGS 342ebfedea0SLionel Sambuc 343ebfedea0SLionel SambucSome would argue that the PKCS#12 standard is one big bug :-) 344ebfedea0SLionel Sambuc 345ebfedea0SLionel SambucVersions of OpenSSL before 0.9.6a had a bug in the PKCS#12 key generation 346ebfedea0SLionel Sambucroutines. Under rare circumstances this could produce a PKCS#12 file encrypted 347ebfedea0SLionel Sambucwith an invalid key. As a result some PKCS#12 files which triggered this bug 348ebfedea0SLionel Sambucfrom other implementations (MSIE or Netscape) could not be decrypted 349ebfedea0SLionel Sambucby OpenSSL and similarly OpenSSL could produce PKCS#12 files which could 350ebfedea0SLionel Sambucnot be decrypted by other implementations. The chances of producing such 351ebfedea0SLionel Sambuca file are relatively small: less than 1 in 256. 352ebfedea0SLionel Sambuc 353ebfedea0SLionel SambucA side effect of fixing this bug is that any old invalidly encrypted PKCS#12 354ebfedea0SLionel Sambucfiles cannot no longer be parsed by the fixed version. Under such circumstances 355ebfedea0SLionel Sambucthe B<pkcs12> utility will report that the MAC is OK but fail with a decryption 356ebfedea0SLionel Sambucerror when extracting private keys. 357ebfedea0SLionel Sambuc 358ebfedea0SLionel SambucThis problem can be resolved by extracting the private keys and certificates 359ebfedea0SLionel Sambucfrom the PKCS#12 file using an older version of OpenSSL and recreating the PKCS#12 360ebfedea0SLionel Sambucfile from the keys and certificates using a newer version of OpenSSL. For example: 361ebfedea0SLionel Sambuc 362ebfedea0SLionel Sambuc old-openssl -in bad.p12 -out keycerts.pem 363ebfedea0SLionel Sambuc openssl -in keycerts.pem -export -name "My PKCS#12 file" -out fixed.p12 364ebfedea0SLionel Sambuc 365ebfedea0SLionel Sambuc=head1 SEE ALSO 366ebfedea0SLionel Sambuc 367ebfedea0SLionel SambucL<pkcs8(1)|pkcs8(1)> 368ebfedea0SLionel Sambuc 369