OPENSSL-SPKAC - Online Linux Manual PageSection : 1ossl
Updated : 2023-03-21
Source : 3.0.8
Note : OpenSSL

NAMEopenssl−spkac − SPKAC printing and generating command

SYNOPSISopenssl spkac [−help] [−in filename] [−out filename] [−digest digest] [−key filename|uri] [−keyform DER|PEM|P12|ENGINE] [−passin arg] [−challenge string] [−pubkey] [−spkac spkacname] [−spksect section] [−noout] [−verify] [−engine id] [−provider name] [−provider−path path] [−propquery propq]

DESCRIPTIONThis command processes Netscape signed public key and challenge (SPKAC) files. It can print out their contents, verify the signature and produce its own SPKACs from a supplied private key.

OPTIONS−help Print out a usage message. −in filename This specifies the input filename to read from or standard input if this option is not specified. Ignored if the −key option is used. −out filename Specifies the output filename to write to or standard output by default. −digest digest Use the specified digest to sign a created SPKAC file. The default digest algorithm is MD5. −key filename|uri Create an SPKAC file using the private key specified by filename or uri. The −in, −noout, −spksect and −verify options are ignored if present. −keyform DER|PEM|P12|ENGINE The key format; unspecified by default. See openssl−format−options(1) for details. −passin arg The input file password source. For more information about the format of arg see openssl−passphrase−options(1). −challenge string Specifies the challenge string if an SPKAC is being created. −spkac spkacname Allows an alternative name form the variable containing the SPKAC. The default is "SPKAC". This option affects both generated and input SPKAC files. −spksect section Allows an alternative name form the section containing the SPKAC. The default is the default section. −noout Don't output the text version of the SPKAC (not used if an SPKAC is being created). −pubkey Output the public key of an SPKAC (not used if an SPKAC is being created). −verify Verifies the digital signature on the supplied SPKAC. −engine id See "Engine Options" in openssl(1). This option is deprecated. −provider name −provider−path path −propquery propq See "Provider Options" in openssl(1), provider(7), and property(7).

EXAMPLESPrint out the contents of an SPKAC: ​ openssl spkac −in spkac.cnf Verify the signature of an SPKAC: ​ openssl spkac −in spkac.cnf −noout −verify Create an SPKAC using the challenge string "hello": ​ openssl spkac −key key.pem −challenge hello −out spkac.cnf Example of an SPKAC, (long lines split up for clarity): ​ SPKAC=MIG5MGUwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA\ ​ 1cCoq2Wa3Ixs47uI7FPVwHVIPDx5yso105Y6zpozam135a\ ​ 8R0CpoRvkkigIyXfcCjiVi5oWk+6FfPaD03uPFoQIDAQAB\ ​ FgVoZWxsbzANBgkqhkiG9w0BAQQFAANBAFpQtY/FojdwkJ\ ​ h1bEIYuc2EeM2KHTWPEepWYeawvHD0gQ3DngSC75YCWnnD\ ​ dq+NQ3F+X4deMx9AaEglZtULwV4=

NOTESA created SPKAC with suitable DN components appended can be fed to ​openssl−ca(1). SPKACs are typically generated by Netscape when a form is submitted containing the KEYGEN tag as part of the certificate enrollment process. The challenge string permits a primitive form of proof of possession of private key. By checking the SPKAC signature and a random challenge string some guarantee is given that the user knows the private key corresponding to the public key being certified. This is important in some applications. Without this it is possible for a previous SPKAC to be used in a "replay attack".

SEE ALSOopenssl(1), ​openssl−ca(1)

HISTORYThe −engine option was deprecated in OpenSSL 3.0. The −digest option was added in OpenSSL 3.0.

COPYRIGHTCopyright 2000−2021 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
0
Johanes Gumabo
Data Size   :   21,356 byte
man-openssl-spkac.1osslBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 179,739
Visitor ID   :     :  
Visitor IP   :   18.119.119.191   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|openssl-spkac.1ossl|24/25|el══─{─══.|.el══─{─══. ds C` )         (htmlprn|149|openssl-spkac.1ossl|24/25|.el══─{─══. ds C` |.el══─{─══. ds C` )         (parse_manual_page_|249|openssl-spkac.1ossl|27|br══─}─══|'br══─}─══ )         (htmlprn|149|openssl-spkac.1ossl|27|'br══─}─══ |'br══─}─══ )