Skip to main content
Skip table of contents

Generating TLS Certificates

Self-signed certificate for testing

To create a new certificate, run the following command:

CODE
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
    -keyout ui_tls.key \
    -out ui_tls.crt \
    -subj "/CN=yourname"
    
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
    -keyout backend_tls.key \
    -out backend_tls.crt \
    -subj "/CN=yourname"    

Then update the environment variables with the certificates using:

CODE
export AB_UI_TLS_CERTIFICATE_KEY="$(cat ui_tls.key | base64)"
export AB_UI_TLS_CERTIFICATE_CRT="$(cat ui_tls.crt | base64)"

export AB_BACKEND_TLS_CERTIFICATE_KEY="$(cat backend_tls.key | base64)"
export AB_BACKEND_TLS_CERTIFICATE_CRT="$(cat backend_tls.crt | base64)"

JavaScript errors detected

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

If this problem persists, please contact our support.