Skip to content

Commit 5dbf069

Browse files
authored
Revise Readme for development certificate installation
Updated instructions for installing development certificates and added important notes about certificate usage.
1 parent 0b87482 commit 5dbf069

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

ui/certs/Readme.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
1-
This certificate is only an example. Please use your own.
1+
# Installing Development Certificates
22

3-
Double click the pfx on a windows mc and use the 1234 password to install.
3+
> [!IMPORTANT]
4+
> The certificate in this folder is for illustrative purposes only. Please use your own certificate.
45
5-
Add the certificates to the nx project for example in the **/certs** folder
6+
1. Double-click the `pfx` on a Windows machine and use the password `1234` to install.
7+
1. Add the certificates to the Angular CLI project, for example in the **/certs** folder.
8+
1. Update the `ui\angular.json` file to point to the certificate files:
69

7-
Update the nx project.json file:
8-
9-
```json
10-
"serve": {
11-
"executor": "@angular-devkit/build-angular:dev-server",
12-
"options": {
13-
"browserTarget": "ui:build",
14-
"sslKey": "certs/dev_localhost.key",
15-
"sslCert": "certs/dev_localhost.pem",
16-
"port": 4201
17-
},
18-
```
10+
```json
11+
"sslKey": "certs/dev_localhost.key",
12+
"sslCert": "certs/dev_localhost.pem",
13+
"port": 4201
14+
```

0 commit comments

Comments
 (0)