Skip to content

Commit 27da504

Browse files
Create README for certificates setup
Add instructions for generating local pem files using mkcert. Signed-off-by: Pablo Mayrgundter <pablo.mayrgundter@gmail.com>
1 parent 83aa8a0 commit 27da504

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
For https serving, generate local pem files and put them in this directory.
2+
3+
# Using mkcert on OSX
4+
5+
```
6+
# Initially
7+
8+
# Install mkcert if you don't have it
9+
brew install mkcert
10+
11+
# One-time system install to allow Start of Authority from OS locally
12+
mkcert -install
13+
14+
# Generate localhost-key.pem and localhost.pem
15+
mkcert localhost 127.0.0.1 ::1
16+
```
17+
18+
Note the actual filenames created, and edit the `./proxy.js` hardcoded filenames to match them exactly.
19+
20+
After this, running our https targets should work fine.

0 commit comments

Comments
 (0)