Skip to content

Commit 81a1846

Browse files
fix: cert instructions (#150)
1 parent 34dc350 commit 81a1846

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/routes/__tests__/route-certificates.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe("Certificates", () => {
4343

4444
expect(
4545
screen.getByText(
46-
"Open the downloaded certificate file. Keychain Access launches and imports the cert automatically.",
46+
"Open the downloaded certificate file; Keychain Access will open and prompt you to to add the certificates.",
4747
),
4848
).toBeVisible();
4949

src/routes/route-certificates.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ export function RouteCertificates() {
9696
const steps = {
9797
macos: {
9898
install: [
99-
"Open the downloaded certificate file. Keychain Access launches and imports the cert automatically.",
100-
'Select the login keychain and search for "CodeGate" (it may not appear until you search).',
101-
'Double-click the "CodeGate CA" certificate.',
99+
"Open the downloaded certificate file; Keychain Access will open and prompt you to to add the certificates.",
100+
"In the Add Certificates dialog, select the `login` keychain, and click Add.",
101+
"In the Keychain Access dialog, select the `login` keychain from the Default Keychains list on the left.",
102+
'Search for "CodeGate" (it may not appear until you search), then in the search results, double-click the "CodeGate CA" certificate.',
102103
'Expand the Trust section and set the "Secure Sockets Layer" and "X.509 Basic Policy" options to "Always Trust".',
103104
"Alternatively, run `security add-trusted-cert -r trustRoot -k ~/Library/Keychains/login.keychain ~/Downloads/codegate.crt` from a terminal.",
104105
],

0 commit comments

Comments
 (0)