ATTENTION new bank account · IBAN: DE28700111104101475005 · BIC: DEKTDE7G

GEOTRUST RapidSSL: Installing SSL certificates including intermediate (ca_bundle) certificate on nginx

Note: When placing your CSR inside the MY INTERSSL account, please choose server type "apache/mod_SSL" in case "nginx" isn't available as an option.

 

Example paragraph from nginx/conf/gitlab-http.conf


listen *
:443 ssl;

server_name git.b-nm.at;
 
ssl_certificate /var/opt/gitlab/nginx/ssl/git.b-nm.at.crt.ca.pem;
ssl_certificate_key /var/opt/gitlab/nginx/ssl/git.b-nm.at.key;
ssl_protocols TLSv1 TLSv1.TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;


Important: as nginx only allows to specify one file for the SSL certificate, you need to copy the .CRT file and the .CA_BUNDLE (=intermediate certificate) together using a text editor, so that the full intermediate certificate chain is available in this file, to be used with the ssl_certificate statement inside the config file.



ssl_certificate example for RapidSSL:

-----BEGIN CERTIFICATE-----
.
.
.
. **** CONTENTS OF YOUR SSL CERTIFICATE *****
.
.
.
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIETTCCAzWgAwIBAgIDAjpxMA0GCSqGSIb3DQEBCwUAMEIxCzAJBgNVBAYTAlVTMRYwFAYDVQQK
Ew1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9iYWwgQ0EwHhcNMTMxMjExMjM0
NTUxWhcNMjIwNTIwMjM0NTUxWjBCMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5j
LjEbMBkGA1UEAxMSUmFwaWRTU0wgU0hBMjU2IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAu1jBEgEul9h9GKrIwuWF4hdsYC7JjTEFORoGmFbdVNcRjFlbPbFUrkshhTIWX1SG5tmx
2GCJa1i+ctqgAEJ2sSdZTM3jutRc2aZ/uyt11UZEvexAXFm33Vmf8Wr3BvzWLxmKlRK6msrVMNI4
/Bk7WxU7NtBDTdFlodSLwWBBs9Z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PFX / .P12 (PKCS#12) file format

Both PKCS#12 and .PFX also contain a Private Key, which is typically only known by the client...

Enabling Webserver (WebStation) for HTTP validation under Synology DiskStation Manager

In Synology Diskstation you first have to enable the "WebStation" service. "WebStation" is the...

COMODO PositiveSSL: Installing SSL certificates including intermediate (ca_bundle) certificate on nginx

Note: When placing your CSR inside the MY INTERSSL account, please choose server type...

Requesting SSL certificates and SSL installation for all-inkl.com customers

All-inkl.com enables customers to install InterSSL certificates. You can find a tutorial here...

How do i create /.well-known/pki-validation/... ?

For File Based Authentication, please create a folder structure "/.well-known/pki-validation/"...