Skip to main content
Skip table of contents

Create self-signed certificates for ingress

Create Selfsigned SSL/TLS Ingress Certificates 

please modify the <FQDN> with your current fqdn before applying the following command.

  1. Create ingres Certs directory

  2. CODE
    mkdir ingress-certs
    cd ingress-certs
  3. set the Variable name to your FQDN

  4. CODE
    export FQDN=<enter FQDN here>
  5. Now generate a secret with the following commands.

    BASH
    openssl req -x509 \
    -newkey rsa:4096 \
    -sha256 \
    -days 3650 \
    -nodes \
    -keyout ${FQDN}.key \
    -out ${FQDN}.crt \
    -subj "/CN=${FQDN}" \
    -addext "subjectAltName=DNS:www.${FQDN},DNS:${FQDN}"
  6. Create kubernetes secret in your required namespace

    CODE
    kubectl -n <NAMESPAC>  create secret tls ef-ingress-tls-secret --key  ${FQDN}.key --cert ${FQDN}.crt
  7. switch to previous directory

    BASH
    cd ../
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.