Skip to content

NOTE distinguished name representation in jsrsasign

Kenji Urushima edited this page Nov 6, 2016 · 27 revisions

TOP | Wiki | DOWNLOADS | TUTORIALS | API REFERENCE | Online Tool | DEMO | NODE TOOL


The 'jsrsasign' uses "OpenSSL oneline" format (ex. /C=US/O=Test) 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 in reverse order.

  • OpenSSL oneline form

  • ex. /C=US/O=TEST/CN=example.com

  • RDN(relative distinguished name) is separated by '/'

  • RDNs are shown in non-reverse order.

  • Used by OpenSSL and OpenSSL based web servers like Apache, nginx.

Currently there is no converter between 'oneline' and 'standard' form however it will be provided near in the future.

REFERENCES

Clone this wiki locally