Skip to content

Commit b0675c5

Browse files
authored
docs: improved manual steps for macOS (#3565)
1 parent 71a3505 commit b0675c5

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

ansible/MANUAL_STEPS.md

+17-8
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ As root:
128128
* Transfer to release machine (scp to /tmp)
129129
* `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).
130130

131-
#### Validating certificates are in date
131+
#### Validating certificates are in date and valid
132132

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.
140140

141141
Example:
142142

@@ -145,6 +145,15 @@ Not Before: Jan 22 03:40:05 2020 GMT
145145
Not After : Jan 22 03:40:05 2025 GMT
146146
```
147147

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+
148157
## macOS
149158
1. Update Sudoers file:
150159

0 commit comments

Comments
 (0)