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

Page 195
Image 195
HP OneView manual Re-create the Amqp client certificate, Delete /rest/certificates/ca/rabbitmqreadonly