From 5dbf0697e9adfd99f97e0b6ecd797b7506058ee4 Mon Sep 17 00:00:00 2001 From: Marc Rufer Date: Sat, 1 Nov 2025 00:03:29 +0100 Subject: [PATCH] Revise Readme for development certificate installation Updated instructions for installing development certificates and added important notes about certificate usage. --- ui/certs/Readme.md | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/ui/certs/Readme.md b/ui/certs/Readme.md index 9143bf4..ffc0ee8 100644 --- a/ui/certs/Readme.md +++ b/ui/certs/Readme.md @@ -1,18 +1,14 @@ -This certificate is only an example. Please use your own. +# Installing Development Certificates -Double click the pfx on a windows mc and use the 1234 password to install. +> [!IMPORTANT] +> The certificate in this folder is for illustrative purposes only. Please use your own certificate. -Add the certificates to the nx project for example in the **/certs** folder +1. Double-click the `pfx` on a Windows machine and use the password `1234` to install. +1. Add the certificates to the Angular CLI project, for example in the **/certs** folder. +1. Update the `ui\angular.json` file to point to the certificate files: -Update the nx project.json file: - -```json -"serve": { - "executor": "@angular-devkit/build-angular:dev-server", - "options": { - "browserTarget": "ui:build", - "sslKey": "certs/dev_localhost.key", - "sslCert": "certs/dev_localhost.pem", - "port": 4201 -}, -``` + ```json + "sslKey": "certs/dev_localhost.key", + "sslCert": "certs/dev_localhost.pem", + "port": 4201 + ```