@@ -128,15 +128,15 @@ As root:
128
128
* Transfer to release machine (scp to /tmp)
129
129
* ` sudo security import /tmp/Apple\ Developer\ ID\ Node.js\ Foundation.p12 -k /Library/Keychains/System.keychain -T /usr/bin/codesign -T /usr/bin/productsign -P 'XXXX' ` (where XXXX is found in secrets/build/release/apple.md) (` security unlock-keychain -u /Library/Keychains/System.keychain ` _ may_ be required prior to running this command).
130
130
131
- #### Validating certificates are in date
131
+ #### Validating certificates are in date and valid
132
132
133
- 1 . security -i unlock-keychain ( Enter the password for the machine located in secrets)
134
- 2 . security find-certificate -c "Developer ID Application" -p > /tmp/app.cert ( outputs the PEM format of the cert so we can properly inspect it)
135
- 3 . security find-certificate -c "Developer ID Installer" -p > /tmp/installer.cert
136
- 4 . openssl x509 -inform PEM -text -in /tmp/app.cert | less
137
- 5 . openssl x509 -inform PEM -text -in /tmp/installer.cert | less
138
-
139
- The last two steps will show the details of the certificates allowing to see expiry dates.
133
+ 1 . ` security -i unlock-keychain ` Enter the password for the machine located in secrets
134
+ 2 . ` security find-certificate -c "Developer ID Application" -p > /tmp/app.cert ` outputs the PEM format of the cert so we can properly inspect it
135
+ 3 . ` security find-certificate -c "Developer ID Installer" -p > /tmp/installer.cert `
136
+ 4 . ` openssl x509 -inform PEM -text -in /tmp/app.cert | less `
137
+ 5 . ` openssl x509 -inform PEM -text -in /tmp/installer.cert | less `
138
+ 6 . ` security find-identity -p codesigning -v `
139
+ The steps 4 and 5 will show the details of the certificates allowing to see expiry dates.
140
140
141
141
Example:
142
142
@@ -145,6 +145,15 @@ Not Before: Jan 22 03:40:05 2020 GMT
145
145
Not After : Jan 22 03:40:05 2025 GMT
146
146
```
147
147
148
+ The step 6 will show the list of certificates available on the machine.
149
+
150
+ Example:
151
+
152
+ ```
153
+ 1) XXXXXXXXXXX "Developer ID Application: Node.js Foundation (XXXXXXX)"
154
+ 1 valid identities found
155
+ ```
156
+
148
157
## macOS
149
158
1 . Update Sudoers file:
150
159
0 commit comments