7 re-create the amqp client certificate, Prerequisites – HP OneView User Manual
Page 195

ch.close()
conn.close()
if __name__ == '__main__':
main()
26.7 Re-create the AMQP client certificate
If you change the appliance name, you must re-create the AMQP client certificate.
Prerequisites
•
Minimum required session ID privileges: Infrastructure administrator
Re-creating and downloading the client certificate, private key, and root CA certificate using REST APIs
1.
Revoke the certificate.
DELETE /rest/certificates/ca/rabbitmq_readonly
Request body is not required.
NOTE:
When you revoke the default client certificate, the appliance re-generates the CA certificate, AMQP server
certificate, and the default client certificate.
2.
Download the certificate and private key.
GET /rest/certificates/client/rabbitmq/keypair/default
3.
Download the root CA certificate.
GET /rest/certificates/ca
26.7 Re-create the AMQP client certificate
195