Skip to content
Permalink
Browse files

README: add "go run" quickstart

  • Loading branch information...
FiloSottile committed Aug 24, 2019
1 parent 343aec2 commit 0bfd83cea26eec7a633fbd4c80db9f258b2679df
Showing with 10 additions and 0 deletions.
  1. +10 −0 README.md
@@ -28,6 +28,16 @@ Using certificates from real certificate authorities (CAs) for development can b

mkcert automatically creates and installs a local CA in the system root store, and generates locally-trusted certificates. mkcert does not automatically configure servers to use the certificates, though, that's up to you.

## Quickstart

If you have Go 1.12+ just run the following command to get a valid certificate for `example.com` and its subdomains.

```
go run github.com/FiloSottile/mkcert -install example.com "*.example.com"
```

Otherwise, the installation instructions below don't require Go.

## Installation

> **Warning**: the `rootCA-key.pem` file that mkcert automatically generates gives complete power to intercept secure requests from your machine. Do not share it.

0 comments on commit 0bfd83c

Please sign in to comment.
You can’t perform that action at this time.