-
-
Notifications
You must be signed in to change notification settings - Fork 645
NOTE distinguished name representation in jsrsasign
Kenji Urushima edited this page Nov 6, 2016
·
27 revisions
The 'jsrsasign' uses "OpenSSL oneline" format is used for X.500 directory name string representation which is used in subject or issuer name of certificate or server name of OCSP or TSA.
There are two major representation for it:
- standard form(LDAP, RFC 1779, 2253 or 4514) ** ex. CN=example.com,O=TEST,C=US ** RDN(relative distinguished name) is separated by ',' ** RDNs are shown by reverse order.
- OpenSSL oneline form ** ex. /C=US/O=TEST/CN=example.com ** RDN(relative distinguished name) is separated by '/' ** RDNs are shown by non-reverse order. ** Used by OpenSSL and OpenSSL based web servers like Apache, nginx.
There is no converter between 'oneline' and 'standard' form however it will be provided near in the future.