After reading Heroku articles, Stack Overflow questions, and the Stripe payments integration guides, the general advice is that I should should purchase an SSL certificate for my custom domain that points to my Heroku app.

Can anyone offer an explanation or other resource to help me understand why I need an SSL certificate?

I understand that SSL encrypts transmitted data, but if Heroku provides SSL, then where am I lacking encryption?

Would a simple explanation be that http://example.com forwards all transmitted data to https://myapp.herokuapp.com, therefore someone could intercept that data on that “leg” of the DNS routing chain?

You pay a certificate authority (CA) to sign a certificate that certifies that a particular public key corresponds to a particular host name that you control.

You don’t need a signed certificate to achieve confidentiality between you and some destination server. You only need the public key of your intended communication partner.

The fundamentally hard problem that a signed certificate solves is not confidentiality but identity. Suppose a customer tries to talk to example.com. The customer connects to some server, and that server supplies a public key for confidential communication. If the key isn’t signed by a trusted authority, though, how do you know that the server you’re talking to is really example.com?

In order to get a signed certificate, you go to a certificate authority and supply a public key, a host name, and sufficient evidence that you are the operator of the host name. If the CA is satisfied with your evidence, they issue a signed certificate linking your public key to your host name, which anyone can verify. Based on that certificate, the user learns that the CA (whom the user already trusts) asserts a pairing between the received public key and the host name they are trying to talk to.

There’s no way for a user’s system to know that example.com and myapp.herokuapp.com are the same service. (Comparing IP addresses isn’t useful, because multiple sites may be hosted from the same IP, varying content by the Host request header.) The host names are different, so you need separate certification for each name.

It is possible for you to act as you own CA and produce a self-signed certificate. However, anyone can produce a self-signed certificate, so it doesn’t provide any identity proof. Your operating system has a list of trusted CAs, whom we generally trust to be discerning when signing certificates. When a user sees a certificate signed by a trusted CA, the user can be reasonably sure that the CA has done due diligence in verifying that the public key is the correct one for that domain.

3

This state of affairs (when you have to cough up for a cert) will not persist for long. There’s a very promising initiative Let’s Encrypt which will provide free certificates in an automatic mode. It is bound to launch in mid-2015. It is sponsored by Mozilla, EFF, Akamai, and Cisco. Thus, you’ll have the best of two worlds: a non-self-signed, identity-verified certificate that will at the very least work in Firefox, and a gratis, hassle-free one at that.

Identity verification will be based on the ACME protocol.

You can generate your own certificate, and it will work perfectly fine. The reason you buy one instead of making one is that certificates from well-known CA’s will not generate an error in the client browser indicating that the signing certificate authority is unknown and not trusted.

1

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật