D
D
Dmitry Belyaev2018-05-08 10:02:53
Node.js
Dmitry Belyaev, 2018-05-08 10:02:53

How to install a trusted certificate in the system using node.js?

It is necessary to test web applications on an https connection locally.
We found the following solution:
Through /etc/hosts for 127.0.0.1, a resolver for additional domains is registered We made
a self-signed root certificate, it signs certificates for local application
domains
manual installation...
Target platforms:
- deb-based linux distributions (mainly Ubuntu/Mint) - Chrome, FF
- osX - Safari, Chrome - win10
- MS Edge, Yandex.Browser, Chrome
, there is gksudo on linux, but are there any analogues on osX and win?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question