cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
543
Views
5
Helpful
2
Replies

crypto pki authenticate

Joe_Tseng1
Level 1
Level 1

Can subject-name contain state value?

I want to generate CSR and subject-name can contain the following information. 

Organization Name(O)
Organization Unit(OU)
Country Code(C)
State or Province(S)

Locality(L)

Common Name(CN)

When I enter following command, it's show error

input:

subject-name CN=sbctw.foxconn.com,O=Foxconn Electronics Inc.,OU=TW,C=TW,L=TW,S=TW

error:

"CN=sbctw.foxconn.com,O=Foxconn Electronics Inc.,OU=TW,C=TW,L=TW,S=TW" is not a valid subject name

The subject name must be in X.500 (LDAP) format

 

ISR4331, Version IOS XE 17.03.04a

2 Replies 2

check below thread

https://community.cisco.com/t5/application-networking/csm-s-csr-generation/td-p/1098943

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Joe_Tseng1
Level 1
Level 1

I found a document provide relative command.

 

subject-name CN=xxx.com,O=xxx.,OU=TW,C=TW,L=TW,st=TW

 

problem solved, thx.