Skip to content

Latest commit

 

History

History
83 lines (73 loc) · 2.35 KB

setup-ssl.en.md

File metadata and controls

83 lines (73 loc) · 2.35 KB
title date layout draft tags structuredData
How to setup ssl https:// for your site
2017-08-30
post
false
Gatsby
surge.sh
ssl.com
ssl
https
version locationCreated alternativeHeadline type dependencies proficiencyLevel articleSection pageEnd pageStart pagination about accessMode accessModeSufficient accessibilityAPI accessibilityControl accessibilitySummary aggregateRating audience author comment commentCount contentLocation dateCreated dateModified datePublished discussionUrl educationalUse isAccessibleForFree isFamilyFriendly keywords thumbnailUrl video
1
Barueri BR
Setup ssl
TechArticle
Hosting at Surge.sh
Beginner
static-site
name alternateName description identifier image sameAs
ssl
https
SSL (Secure Sockets Layer) is the https:// thing you see in some urls, it adds security technology for establishing an encrypted link between a web server and a browser.
ssl
textual
textual
ARIA
fullKeyboardControl, fullTouchControl, fullMouseControl
...
...
angeloocana
...
...
...
2017-08-26
2017-08-30
2017-08-30
...
...
true
true
...
...
...

How to setup https / ssl for surge.sh and ssl.com, It was hard to grab all the pieces, So I hope I can help who is in trouble.

You can follow the oficial tutorial at https://surge.sh/help/securing-your-custom-domain-with-ssl But keep checking here, I did somethings different and it is focused to ssl.com

Generate .pem file

    cat angeloocana_com.key angeloocana_com.crt 'SSL.com DV CA.crt' > surge3.pem

I had problems with the chain, my https was working in chrome but not in firefox. When I tested on sslshopper.com I get this error:

The certificate is not trusted in all web browsers. You may need to install an Intermediate/chain certificate to link it to a trusted root certificate. Learn more about this error. The fastest way to fix this problem is to contact your SSL provider. sslshopper

I solved it by adding 'SSL.com DV CA.crt' as the third file when generating the .pem file.

Upload .pem to surge.sh

    surge ssl

Test your confs

ssl tools is a great way to test your ssl configuration and download missing files: http://www.ssltools.com/