Hi all,
i would make a massive import of 300 rootCA in the AM.
Someone know how can I do it without the administration console? The root CA was saved in the .crt files.
Thank you.
Rossella
Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
Hi all,
i would make a massive import of 300 rootCA in the AM.
Someone know how can I do it without the administration console? The root CA was saved in the .crt files.
Thank you.
Rossella
Maybe you could use administration API and script import of all CAs
Btw, why do you need to import 300 root CAs?
Kind regards,
Sebastijan
If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button
Hi Sebastijan,
I tried the command with curl, but I have this error.
Could you please verify if is correct?
curl -k --location --request PUT accessmanager.demo.it:2443/.../PAX --header "Content-Type: application/json" --header "Authorization: Basic Y249YWRtaW4sbz1ub3ZlbGw6cGFzc3dvcmQ=" --data "{\"certificate\" : \"-----BEGIN%20CERTIFICATE-----%0AMIIGLjCCBBagAwIBAgIINYvO3vg0TjwwDQYJKoZIhvcNAQELBQAwbzELMAkGA1UEBhMCSVQxFjAUBgNVBAoMDVVhbmF0YWNhIFMuQS4xDTALBgNVBAsMBFFUU1AxHTAbBgNVBAMMFFVBTkFUQUNBIENOUyBDQSAyMDIwMRowGAYDVQRhDBFWQVRJVC0wOTE1NjEwMTIxNTAeFw0yMDA0MDcwODQxMDVaFw00MDA0MDIwODQxMDVaMG8xCzAJBgNVBAYTAklUMRYwFAYDVQQKDA1VYW5hdGFjYSBTLkEuMQ0wCwYDVQQLDARRVFNQMR0wGwYDVQQDDBRVQU5BVEFDQSBDTlMgQ0EgMjAyMDEaMBgGA1UEYQwRVkFUSVQtMDkxNTYxMDEyMTUwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCuzzxnmHfK5ZTR9NNRyyFgk2ULTSAdL5w0YmRNg0Qv8eEH6nKSnYF5nUh0COFKsGYBPaVK2Rl8JETE97D2%2F6ZTCFa%2Fjc99G1g8JXFils279%2FoIr2m27q7XEMyaCfhlTM8U3ayiwmu7NJIImpJZy796AsrwzvpK37obm4rNyMCER3cvYIc6q2%2B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ERA4KetIQ10KSNlQ%2F39M40kJKy9%2BYhcEAb4R11pPnmF4REXN1xJXe%2B89V7JmJiUc3G58q4aJCHi%2BgOtGfVp5tLjyeDuTXLutC5aJKDxtJspFvDGbpu%2B1BBjDrs4BKM14fuUXTxrzO86j%2BwwVpM1QidgwWoz%2BHob1PI0KR2Uq4O%2BmxXGRE5y%2FJGFVOTYCcuTUmqV38xHvCfi%2BjiXYZAPpfYN7N9CN4BZnJw9VUQaV9Bm9S%2BtHL2oqAuSilhRpt6SosPHEvyArC1EPEGu2eTf1XD2UzwsQABzUNH%2B7s5ycL0uUL6MBg0IyoJTX%2FRezmhWA0s9xesrxWovthrV5tO3afaFfBr%2FJYrTQabAKVCqN9DHxmbpQMNRW5HZUe7AJKn4dYnERuue%2Bb5uZMSiEJiAuTAHenneNujEEeP13G%2F3DWHu2gxqhbrs%2FmbUFO8sH%2Fd2tI0%3D%0A-----END%20CERTIFICATE-----\"}"
{"response":{"code":"BAD_REQUEST","detail":"\"Specify the certificate.\"","cause":"com.microfocus.roma.RomaException: \"Specify the certificate.\""}}