cat [something].crt <(echo) [something].ca-bundle >> [something-bundle].crt
<(echo)
is used to put new line between files content.
openssl pkcs12 -in [something].pfx -nocerts -out [something].pem
openssl rsa -in [something].pem -out [something].key
ssl on;
ssl_certificate /etc/nginx/ssl/[something-bundle].crt;
ssl_certificate_key /etc/nginx/ssl/[something].key;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers AES128-SHA:AES256-SHA:RC4-SHA:DES-CBC3-SHA:RC4-MD5;
add_header Strict-Transport-Security "max-age=31536000";