Skip to content

Commit

Permalink
Remove arbitrary fields from the generated cert (#1106)
Browse files Browse the repository at this point in the history
## Done

- Remove arbitrary fields from the generated cert

relates to #1084 

## QA

1. Run the LXD-UI:
- On the demo server via the link posted by @webteam-app below. This is
only available for PRs created by collaborators of the repo. Ask
@mas-who or @edlerd for access.
- With a local copy of this branch, [build and run as described in the
docs](../CONTRIBUTING.md#setting-up-for-development).
2. Perform the following QA steps:
- generate a cert, ensure it is generated without country and state and
works in the browser
  • Loading branch information
edlerd authored Feb 12, 2025
2 parents e405929 + ef7144d commit 2f89307
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/util/certificate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ export const sanitizeOrgName = (orgName: string) => {
};

const details = [
{
name: "countryName",
value: "AU",
},
{
shortName: "ST",
value: "Some-State",
},
{
name: "organizationName",
value: sanitizeOrgName(`LXD UI ${location.hostname} (Browser Generated)`),
Expand Down

0 comments on commit 2f89307

Please sign in to comment.