Skip to content

Commit aa04781

Browse files
authored
Merge pull request #425 from jankaluza/ssl
Document how to run podman.io on localhost with HTTPS.
2 parents dc7dab8 + 449e1ed commit aa04781

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ Follow these steps to test the site with either a local development server, or b
1616
- After this you can test the local build with:
1717
- `yarn serve`
1818

19+
To test with the `https`, follow the following steps:
20+
21+
- Generate the localhost self-signed certificate and install it (uses `mkcert` tool):
22+
- `$ mkcert localhost`
23+
- `$ mkcert -install`
24+
- Start the local development server with HTTPS enabled:
25+
- `$ HTTPS=true SSL_CERT_FILE=localhost.pem SSL_KEY_FILE=localhost-key.pem yarn start`
26+
27+
1928
#### Testing on your Virtual Machine
2029

2130
If you're doing development on a VM there are a few steps to take to test your changes:

0 commit comments

Comments
 (0)