4.3 Regenerate Self-Signed Certificate or Custom Certificates Used for Repo Agent

To regenerate a new self-signed certificate or use custom certificates for the nginx container, perform the following steps:

  1. Delete the existing certificates and nginx configuration files:

    sudo rm $AuCoreRepoAgent/config/etc.nginx/*.*

  2. Reconfigure the Repo Agent:

    SSL_HOSTNAME=<Repo_Agent_IP_Hostname>

    ./setup_config_production.sh

  3. Restart the nginx container:

    $AuCoreRepoAgent/dockompose restart nginx

NOTE:You must name the custom certificate as cert.pem.