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:

 

e=li...@mailaddress.com,CN=lior,OU=SLS,O=Sales,L=Depart,S=NLS,C=DE

 

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

 

emailaddress=li...@mailaddress.com,CN=lior,OU=SLS,O=Sales,L=Depart,ST=NL
S,C=DE

 

You can see that we have some differences:

1.      E= in windows and emailAddress= in openssl
2.      S= in windows and ST= in openssl

 

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

 

Thanks,

Lior

Reply via email to