Extract the certificate and associated private key from a pkcs#12 (file)
Extract the certificate and associated private key from a pkcs#12 (file)
The pkcs#12 file PEM or DER encoded
pkcs12
string | string
|
|||||||||
|
-
200 The content of the pkcs#12
application/jsoncertificateobject (CFCertificate) requireddnstring requiredThe certificate's Distinguished Name
dnElementsarray of object (CFDistinguishedName) requiredArray [
typestring requiredvaluestring required]
issuerDnstring requiredThe certificate's issuer Distinguished Name
notBeforeinteger requiredThe certificate's start date in milliseconds since the epoch
notAfterinteger requiredThe certificate's expiration date in milliseconds since the epoch
keyTypestring (Keytype) requiredThe certificate's key type
signingAlgorithmstring requiredThe certificate's signing algorithm
pemstring requiredThe certificate's PEM-encoded content
subjectKeyIdentifierstring requiredcertificateThumbprintstring requiredThe certificate's thumbprint
certificateSHAOneThumbprintstring requiredThe thumbprint of the certificate using SHAOne algorithm
publicKeyThumbprintstring requiredThe certificate's public key thumbprint
keyUsagesarray of string requiredThe certificate key's usage
isKeyUsagesCriticalboolean requiredIf the key usage of the certificate are critical
extendedKeyUsagesarray of string requiredThe certificate extended key's usage
isExtendedKeyUsagesCriticalboolean requiredIf the extended key usage are critical
selfSignedboolean requiredWhether the certificate is self-signed
basicConstraintsobject requiredisCaboolean requiredIf the certificate is type of CA
pathLenintegerThe path len of the certificate
serialstringThe certificate's serial number
sansarray of objects (SubjectAlternateName)The certificate's SAN
Array [
sanTypestring requiredThe type of the SAN
EnumRFC822NAME
DNSNAME
URI
IPADDRESS
OTHERNAME_UPN
OTHERNAME_GUID
REGISTERED_ID
valuestring requiredThe value of the SAN
]
extensionsarray of objects | null (CertificateExtension)The certificate's extensions
Array [
keystring requiredThe extension's type
Enumms_sid
ms_template
valuestring requiredThe extension's value
]
crldpsarray of stringThe certificate's CRLDP if any
aiasobjectThe certificate's AIA
ocsparray of stringThe OCSP certificate AIA
crtarray of stringThe CRT certificate AIA
policiesarray of objectArray [
oidstring requiredurlsarray of string]
authorityKeyIdentifierstringThe certificate AKI
unsupportedExtensionsarray of objectArray [
oidstring requiredhexstring required]
privateKeystring required -
400 Bad Request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueRFC5280-004
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid PKCS#12 or PKCS#12 password
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid PKCS#12 or PKCS#12 password
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
403 Forbidden action
application/problem+jsonerrorstring requiredThe error code of the problem
ValueLIC-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-004
messagestring requiredA short, human-readable summary of the problem type
ValueExpired License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Internal Server error
application/problem+jsonerrorstring requiredThe error code of the problem
ValueLIC-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807