Skip to content
Merged
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
26 changes: 11 additions & 15 deletions ui/certs/Readme.md
Original file line number Diff line number Diff line change
@@ -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
```