get.porter.sh/porter@v1.3.0/tests/integration/testdata/certs/README.md (about)

     1  # Test Certificates
     2  
     3  This directory contains self-signed certificates for our tests.
     4  We use them to run a Docker registry that is secured with TLS.
     5  
     6  When the certificate expires, run the following command from inside this directory to make a new one.
     7  
     8  ```bash
     9  openssl req -new -newkey rsa:4096 -days 365 -nodes \
    10    -x509 -keyout registry_auth.key -out registry_auth.crt \
    11    -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com"
    12  ```