> Hi All,

> I have some weird problem extracting Subject field from certificate
> when using windows API and openssl API.

> Using windows API results the following subject:

> [email protected],CN=lior,OU=SLS,O=Sales,L=Depart,S=NLS,C=DE

> And using openssl API / openssl.exe utility results the following subject
name:

>
[email protected],CN=lior,OU=SLS,O=Sales,L=Depart,ST=NLS,C=
DE

> You can see that we have some differences:
> E= in windows and emailAddress= in openssl

Right, but both of these mean email address.

> S= in windows and ST= in openssl

Right, but both of these mean State.

> Does someone know if there is a way of retrieving the data
> using openssl that will result the same subject string that
> windows show?

Both strings mean precisely the same thing. You should fix whatever cares
that they are not character-for-character identical.

DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to