Warm tip: This article is reproduced from stackoverflow.com, please click
http https javascript security ssl

How to get HTTPS SSL certificate When you use only Front-end

发布于 2020-04-10 16:04:49

how can I get the SSL certificate (HTTPS in URL bar) when I use only HTML, CSS, JS.

Not any backend / SQL language is used.

Domain bought from GoDaddy, storaged in AWS servers.

Thank you very much !

** Addition Question : Can I see the https when I code in my computer ? I mean in the localhost.

Questioner
lir sim
Viewed
90
Ma'moun othman 2020-02-02 01:14

You have 3 options to setup SSL certificate for your domain:

  1. By one from DNS service provider (e.g Godaddy).
  2. use certbot utility on the server.
  3. install and use Caddy server.

Note: SSL is not related to the programming language used, its more of how clients(browsers) communicate with web server (web apps/sites). and yes you can use it locally on your machine.