Skip to content

Commit b08cb41

Browse files
docs: update code siging commands
1 parent 8384669 commit b08cb41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,13 @@ extendedKeyUsage = critical,codeSigning
303303
- Generate private key and certificate with a `passphrase`
304304

305305
```bash
306-
openssl req -x509 -newkey rsa:4096 -sha256 -keyout code_sign.key -out code_sign.crt -days 1096 -config code_sign.cnf
306+
openssl req -x509 -newkey rsa:4096 -sha256 -keyout code_sign.key -out code_sign.crt -days 3650 -config code_sign.cnf
307307
```
308308

309309
- Create `.pxf` file from the private key and certificate previously generated. `.pxf` file will be used to sign app under windows.
310310

311311
```bash
312-
openssl pkcs12 -export -name "elevate-sports-app" -out code_sign.pfx -inkey code_sign.key -in code_sign.crt
312+
openssl pkcs12 -export -legacy -name "elevate-sports-app" -out code_sign.pfx -inkey code_sign.key -in code_sign.crt
313313
```
314314

315315
- Convert `.pxf` file to `base64`

0 commit comments

Comments
 (0)