My angular application doesnt use my created key or certificate. i created a directory "ssl" and put both files in there.
But the first time I "ng serve", angular creates its own keys (it was written in the terminal while it was compiling).
How can I tell angular to use my files?
Per Angular Docs it should be done in the angular.json, but like I said, the first "ng serve" creates its own key and do not use mine.
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ssl-test:build",
"ssl": true,
"sslCert": "/ssl/server.crt",
"sslKey": "/ssl/server.key"
},
The Application runs on https already, just not with certificates I put in the angular.json.