In Fuse Services Framework the x509 utility is primarily used for:
Printing text details of certificates you wish to examine.
Converting certificates to different formats.
The options supported by the openssl x509 utility are as follows:
-inform |
|
-outform |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-modulus |
|
-fingerprint |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-md2/-md5/-sha1/ -mdc2 | - digest algorithm used when signing
certificates |
To print the text details of an existing PEM-format X.509 certificate, use the x509 utility as follows:
openssl x509 -in MyCert.pem -inform PEM -text
To print the text details of an existing DER-format X.509 certificate, use the x509 utility as follows:
openssl x509 -in MyCert.der -inform DER -text
To change a certificate from PEM format to DER format, use the x509 utility as follows:
openssl x509 -in MyCert.pem -inform PEM -outform DER -out MyCert.der