cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
478
Views
5
Helpful
1
Replies

The parameters for 'Security Certificates CA Add' in XML

Jeff698
Level 1
Level 1

Trying to upload a Root CA into VC endpoint with the XML file, got the error '<Command><CAAddResult status="Error">
<Reason>Failed to read X509 certificate</Reason>
</CAAddResult>' 

 

what is required xml format for the CA?  

 

thanks,

Jeff

1 Reply 1

tomas_vll
Level 1
Level 1

 The problem is'nt the need for a body tag? 

<?xml version="1.0"?>
<Command>
	<Security>
		<Certificates>
			<CA>
				<Add><body>-----BEGIN CERTIFICATE-----
MIIF1zCCA4ugAwIBAgIQSMdu9UAsd5VNAivwznsfyzBBBgkqhkiG9w0BAQowNKAP
....
uvDsvjz9WjLU35XmRuPJEV/T90pLR2VCLvwTmAkPHfyWkZzSZaqoNFjsQlWEAUZK
QaAYL89QZy3rsEc=
-----END CERTIFICATE-----</body></Add> </CA> </Certificates> </Security> </Command>