Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: macos cert instructions #150

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/routes/__tests__/route-certificates.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe("Certificates", () => {

expect(
screen.getByText(
"Open the downloaded certificate file. Keychain Access launches and imports the cert automatically.",
"Open the downloaded certificate file; Keychain Access will open and prompt you to to add the certificates.",
),
).toBeVisible();

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