Reply to topic
Client Certificate
eriweb


Joined: 06 Apr 2004
Posts: 68
Reply with quote
Hello all,

I am able to retrieve some info from a client certificate using
Code:
#cgi.cert_subject#
which returns: Subject: E=Person's email, C=US, S=CA, L=Person's city, O=Person's organization, OU=Person's Department, CN=Person's name . What I need accomplish from this returned value parse out information such as the CN which is "Person's name" and E which is "Person's email". Any help in this is appreciated, thank you.
Jason101
Forum Regular

Joined: 14 Mar 2006
Posts: 548
Location: Harrisburg, PA
Reply with quote
Try Using List Last

Code:

<cfset Test = "E=Person's email">
<cfset NewTest = ListLast(Test, "=")>
Thanks....
eriweb


Joined: 06 Apr 2004
Posts: 68
Reply with quote
Thanks Jason that worked.
Client Certificate
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic