chaspy / ask-python

http://ask.chaspy.me
0 stars 0 forks source link

SSL certificate for ask.chaspy.me domain #4

Closed chaspy closed 5 years ago

chaspy commented 5 years ago

now only http://ask.chaspy.me is available.

Let's use cloudfront and ACM.

chaspy commented 5 years ago

Try ACM

screenshot 2019-02-17 13 44 54 screenshot 2019-02-17 13 45 03 screenshot 2019-02-17 13 45 16 screenshot 2019-02-17 13 45 52 screenshot 2019-02-17 13 45 58 screenshot 2019-02-17 13 46 28 screenshot 2019-02-17 13 51 13

Waiting for validation...

chaspy commented 5 years ago
screenshot 2019-02-17 13 51 59

Success!

chaspy commented 5 years ago

Oh, I can only import certificates from the N.Virginia region only ... 😢

chaspy commented 5 years ago

Next, CloudFront

Created distribution

screenshot 2019-02-17 15 26 27

Origin(Heroku)

screenshot 2019-02-17 15 26 33

Behavior(No caching, allow all method)

screenshot 2019-02-17 15 26 39

Waiting for status...

chaspy commented 5 years ago

Ready https://ask.chaspy.me !

We should set askpy.heroku.com to origin.

screenshot 2019-02-17 16 09 06
chaspy commented 5 years ago

Improve synthetics

Check redirect from http to https

screenshot 2019-02-17 16 11 36

Check https://ask.chaspy.me

screenshot 2019-02-17 16 13 24
chaspy commented 5 years ago

done all 🎉