You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Clone this repo and compile from source using Go.
21
21
22
22
### Install a pre-built binary
23
23
24
-
1. Download the binary for your platform, example macOS ARM: `curl https://github.com/primalskill/devcert/releases/download/v1.1.2/devcert_darwin_arm64 > /usr/local/bin/devcert`
24
+
1. Download the binary for your platform, example macOS ARM: `curl https://github.com/primalskill/devcert/releases/download/v1.2.0/devcert_darwin_arm64 > /usr/local/bin/devcert`
25
25
2. Make it an executable: `chmod +x /usr/local/bin`
26
26
3. Generate a certificate for a local domain (see the detailed usage below): `devcert example.test`
27
27
@@ -68,6 +68,22 @@ Valid for:
68
68
69
69
You can move the `.crt` and `.key` files to your desired location. It will be signed with the CA, no need to trust this certificate separately.
70
70
71
+
## Certificate Info
72
+
73
+
You can get information on a crt file by executing the following command.
74
+
75
+
```
76
+
$ devcert info path/to/crt/file.crt
77
+
78
+
Certificate Info:
79
+
- Is CA: No
80
+
- Generated by devcert: Yes
81
+
- Issuer: Devcert Certificate Authority (CA)
82
+
- Domain(s): example.test, api.example.test
83
+
- Signature Algorithm: SHA256-RSA
84
+
- Version: 3
85
+
- Valid Until: 2024-06-16 11:08:30 +0000 UTC
86
+
```
71
87
## On First Run
72
88
73
89
When running the program for the first time, it will ask for running the setup process which creates the necessary directory, generate the CA and mark it as trusted.
0 commit comments