To regenerate a new self-signed certificate or use custom certificates for the nginx container, perform the following steps:
Delete the existing certificates and nginx configuration files:
sudo rm $AuCoreRepoAgent/config/etc.nginx/*.*
Reconfigure the Repo Agent:
SSL_HOSTNAME=<Repo_Agent_IP_Hostname>
./setup_config_production.sh
Restart the nginx container:
$AuCoreRepoAgent/dockompose restart nginx
NOTE:You must name the custom certificate as cert.pem.