Browse Source

add aaaa to make it show up at the top of the lists in FF

master
forest 9 months ago
parent
commit
04e1691296
3 changed files with 16 additions and 6 deletions
  1. +11
    -1
      ReadMe.md
  2. BIN
      certificates.png
  3. +5
    -5
      main.go

+ 11
- 1
ReadMe.md View File

@ -2,4 +2,14 @@
```
go run main.go example.com
```
```
then in firefox go to about:preferences#searchResults
search for "certificate"
then click `View Certificates...` and click Import, then select the file named like `example.com_CA.crt`
![](certificates.png)
## MAKE SURE TO DELETE THIS CA FROM YOUR CERTIFICATES LIST WHEN YOU ARE DONE USING IT

BIN
certificates.png View File

Before After
Width: 714  |  Height: 507  |  Size: 80 KiB

+ 5
- 5
main.go View File

@ -140,11 +140,11 @@ func saveBundle(pki *easypki.EasyPKI, caName, bundleName string, savePrivateKey
// TODO add certificate metadata option to seedpacket?
func getSubject(commonName string) pkix.Name {
return pkix.Name{
Organization: []string{"user left blank"},
OrganizationalUnit: []string{"user left blank"},
Locality: []string{"user left blank"},
Country: []string{"user left blank"},
Province: []string{"user left blank"},
Organization: []string{"aaaaa user left blank"},
OrganizationalUnit: []string{"aaaaa user left blank"},
Locality: []string{"aaaaa user left blank"},
Country: []string{"aaaaa user left blank"},
Province: []string{"aaaaa user left blank"},
CommonName: commonName,
}
}

Loading…
Cancel
Save