zcrypto
zcrypto copied to clipboard
Zcrypto cannot parse dnQualifier in JSON output
Env: Ubuntu x64
Go version: 1.13, 1.15
Reproduce: ./zcertificate seed-16s31-18s18-338s38-472s35-964s15 .pem
Expected result:
similar to the following
Issuer: C = UN, ST = NYS, O = UNGA, OU = UNSC, dnQualifier = dnQ1, DC = DC1, CN = Susan Housley1, serialNumber = serialNumber1
Actual result:
"issuer": {
"common_name": [
"Susan Housley1"
],
"serial_number": [
"serialNumber1"
],
"country": [
"UN"
],
"province": [
"NYS"
],
"organization": [
"UNGA"
],
"organizational_unit": [
"UNSC"
],
"domain_component": [
"DC1"
]
},
Attachment