“Angular CLI Agregar certificado SSLKEY” Código de respuesta

Angular CLI Agregar certificado SSLKEY

//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
          },
          ...
}
Watcher O_O

Angular CLI Agregar certificado SSL

ng serve -o --ssl true --ssl-key [PATH_TO_KEY] --ssl-cert [PATH_TO_CRT]
Watcher O_O

Respuestas similares a “Angular CLI Agregar certificado SSLKEY”

Preguntas similares a “Angular CLI Agregar certificado SSLKEY”

Más respuestas relacionadas con “Angular CLI Agregar certificado SSLKEY” en JavaScript

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código