Elffuss BraidHub

kikocis/dataspace-portal public

chore(docs): Add commands to generate a X.509 certificate locally (#323)

Changeset3cb9cb3ed515baf5fa0099ca3bc72c5df816b68a074766e0bf203c68a626fb06
AuthorSebastian Opriel <22075788+SebastianOpriel@users.noreply.github.com> · 2024-09-23 19:31 +02:00
CommitterGitHub <noreply@github.com> · 2024-09-23 17:31 UTC
Parents1b3fe9a1572b

Browse the files at this changeset

2 files changed

modified CHANGELOG.md +2 −0
@@ -15,6 +15,8 @@
1515
1616 #### Patch
1717
18+- Docs describe how to locally self-generate X.509 certificates ([#192](https://github.com/sovity/authority-portal/issues/192))
19+
1820 ### Known issues
1921
2022 ### Deployment Migration Notes
modified docs/product/user-documentation/Manage Data Space components.md +13 −1
@@ -33,7 +33,19 @@
3333
3434 ![provide-connector](images/provide-connector.png)
3535
36-To provide a connector in the Authority Portal all fields of the mask must be submitted. The process is identical to the registration of connectors for users without any application role but registers the connector for another organization who is named in the slightly changed registration mask.
36+To provide a connector in the Authority Portal all fields of the mask must be submitted. The process is identical to the registration of connectors for users without any application role but registers the connector for another organization who is named in the slightly changed registration mask.
37+
38+You might generate the required certificate within the browser or alternatively via a Linux shell with `openssl` and `keytool` installed:
39+
40+```bash
41+$ openssl req -x509 -newkey rsa:2048 -keyout key.pem -out connector-certificate.crt -nodes -days 1825
42+$ openssl pkcs12 -export -in connector-certificate.crt -inkey key.pem -out connector-certificate.p12
43+$ keytool -importkeystore -srckeystore connector-certificate.p12 -srcstoretype pkcs12 -destkeystore connector-certificate.jks
44+```
45+
46+> [!TIP]
47+> By ticking the checkbox "Use the Connector's JWKS URL [...]", you can define a JWKS endpoint to automatically fetch the certificate from and thus skip the certificate step. sovity's CaaS (Connector-as-a-Service) are equipped with this functionality.
48+
3749 After clicking on the register button the list of provided connectors appears, where the added connector can be found.
3850
3951 #### 3. Assign Service Partner Admin role to users within own organization