File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change 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+ ```
You can’t perform that action at this time.
0 commit comments