//On the angular.json file add the configurations "sslKey", "sslCert" and "ssl" with the value "true"
//Don't forget to create a folder "ssl" on the root of your project, and add the certicate (.crt) and key (.key)
"serve": {
"options": {
"sslKey": "./ssl/server.key",
"sslCert": "./ssl/server.crt",
"ssl": true
},
...
}