0

Certificate Request - CA Specified Attributes doen't working

 Hello everyone,

I'm trying to create an SSL certificate request via WebSDK.
Everything works except for taking into account the specific attributes for my certification authoritie (Thawte CA).

I'll share my code with you if you have an idea.

 

Method = Post

Ressource = /vedsdk/Certificates/Request

{
"PolicyDN": "\\VED\\Policy\\Managed_certificates\\prd-authent-chaine-confiance",
"ObjectName": "testsdk2",
"CADN": "\\VED\\Policy\\Configuration\\CA_templates\\Natixis Digicert",
"PKCS10": "-----BEGIN CERTIFICATE REQUEST-----\nMIICpjCCAY4CAQAwYTELMAkGA1UEBhMCRlIxDjAMBgNVBAgMBVBhcmlzMQ4wDAYDVQQHDAVQYXJpczEQMA4GA1UECgwHTkFUSVhJUzENMAsGA1UECwwERE9TSTERMA8GA1UEAwwIdGVzdHNkazIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCp77SjoU3hvD78htmSv/dAEEksQe2U5bKVCyqjTOXYrXhJSOkSNpIhDowD8tuvzjnYViaPCbh+vm12cWzM4/3v5q3bRKj1c9rc5Fu+OTL+mYy6Eu84jNgeBj/lwfo8ql0rJNYwrjXjbafRGAB7cmWcxAmbXqbM1gmR/HHmZCC4UkpYOYXsUH6EQ5CenUlN7B71ECLoxh2GmR2rm3QC6gjMBmyecLpN/0T4+xjjkhJs/WG4KDPdqP9wMSwzFrv/qNOl8MSCyw/fLLpGD3Fszzz5pjFTBh1Z82sL22rP43DNrThH93YUHJsTF0TyMoOpJvv6jTluIvCpdTEO+yaeUDwRAgMBAAGgADANBgkqhkiG9w0BAQUFAAOCAQEABsGdAN734pYqDqJdAYkHnh4fTG30S9z2AhUI6oPkc6ZnWELtuJoK1C3Nqu9kG/KWrq4C3wWJRRbAh4PNAvz5C9oOMKSl6EmTIibKsJf3vzyTZAmad5qYsnOsKBLOmWddnTjlyD6wCdlNH0o3suxDmSyTnz4QEkFTX8RHmwVe+Evg7I/va81e0hsOzBYZSIEJf7G+eOcP7z/3ARDNSOsx9BCN3LLnXlGu3y4SeJH9xAZlD/Pg4l0tuapFciuelbGA2Hsa4SY94dAYe5ty9rstJr9ZuPZLR/3SaCErZkIE/GX0TTAAZDnAacj7OlV+OSn6+armsiLOyu7TNG4cpavOqw==\n-----END CERTIFICATE REQUEST-----",
"SubjectAltNames":
[{
"Type": 2,
"Name": "testsdk2"
}]
"CASpecificAttributes":
[{

"Name": "Server Type",
"Values": "OtherTSServer"
},

{
"Name": "Thawte CA:Enrollment Mode",
"Values": "0"
},

{
"Name": "Validity Period",
"Values": "2"
}]
}

 

Response :

 

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server:
Access-Control-Allow-Origin: *
Date: Thu, 18 Oct 2018 08:59:38 GMT
Content-Length: 143

{"CertificateDN":"\\VED\\Policy\\Managed_certificates\\prd-authent-chaine-confiance\\testsdk2","Guid":"{04541eee-7725-49f5-9786-f81f62c283c7}"}

The result is "ok" but the values do not appear in my request.

Don' hesitate if you have any questions
Thank you in advance.

 

2 comments

Please sign in to leave a comment.