How to set up HTTPS for local testing purposes?

前端 未结 2 687
有刺的猬
有刺的猬 2020-12-29 10:03

I need to see how a web application will work with HTTPS. But I can\'t really find much information around about it. I tried to set up my local Apache but I can\'t find a CA

2条回答
  •  灰色年华
    2020-12-29 10:27

    Self-signed certificates (as already mentioned) are probably the easiest option for a single host.

    If there are a few hosts, you could create a mini CA of your own. There are tools for this, for example:

    • CA.pl: a script provided with OpenSSL.
    • TinyCA: a tool with a GUI.

提交回复
热议问题