Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Instruction for windows System #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sandeep-cs-dev
Copy link

No description provided.

@@ -7,7 +7,7 @@ A set of scripts to quickly generate a HTTPS certificate for your local developm
1. Clone this repository and `cd` into it:

```
git clone https://github.com/dakshshah96/local-cert-generator.git
run git clone

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

createRootCA.sh

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Agregue el certificado raíz que acabamos de generar a su lista de certificados confiables. Este paso depende del sistema operativo que esté ejecutando:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acceso a llaveros e importa el certificado raíz a tu llavero del sistema. Luego marque el certificado como confiable

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confianza ] (https://cdn-images-1.medium.com/max/1600/1*NWwMb0yV9ClHDj87Kug9Ng.png)

-  ** Linux ** : Dependiendo de su distribución de Linux, puede usar `trust` , ` update-ca -ificates` u otro comando para marcar el certificado raíz generado como confiable.

@@ -23,6 +23,7 @@ sh createRootCA.sh
![Trust root certificate](https://cdn-images-1.medium.com/max/1600/1*NWwMb0yV9ClHDj87Kug9Ng.png)

- **Linux**: Depending on your Linux distribution, you can use `trust`, `update-ca-certificates` or another command to mark the generated root certificate as trusted.
- **Windows**: Windows key + R and run certmgr.msc and selecet `Trusted Root Certificatation Authorities--> certificates-->right click-->All Task-->import-->an then follow the instructions

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 README.md
@@ -7,7 +7,7 @@ Un conjunto de scripts para generar rápidamente un certificado HTTPS para su desarrollo local

  1. Clone este repositorio y cd en él:

''
clon de git https://github.com/dakshshah96/local-cert-generator.git
ejecutar git clone
@luperciomartina
luperciomartina hace 5 minutos
createRootCA.sh

@luperciomartina
luperciomartina hace 3 minutos
Agregue el certificado raíz que acabamos de generar una lista de certificados confiables. Este paso depende del sistema operativo que esté ejecutando:
@luperciomartina
luperciomartina hace 2 minutos
Acceso a llaveros e importa el certificado raíz a tu llavero del sistema. Luego marque el certificado como confiable

@luperciomartine
luperciomartine hace 1 minuto
confianza ] (https://cdn-images-1.medium.com/max/1600/1*NWwMb0yV9ClHDj87Kug9Ng.png)

  • ** Linux ** : Dependiendo de su distribución de Linux, puede usar trust , update-ca -ificates u otro comando para marcar el certificado raíz generado como confiable.
    @luperciomartina Respuesta…
    cd local-cert-generator
    ''
  1. Ejecute el script para crear un certificado raíz:
    ''
    sh createRootCA.sh
    ''
  2. Agregue el certificado raíz que acabamos de generar a su lista de certificados confiables. Este paso depende del sistema operativo que esté ejecutando:
    • ** macOS ** : abre Acceso a llaveros e importa el certificado raíz a tu llavero del sistema. Luego marque el certificado como confiable.
      ! [ Certificado raíz de confianza ] (https://cdn-images-1.medium.com/max/1600/1*NWwMb0yV9ClHDj87Kug9Ng.png)

    • ** Linux ** : Dependiendo de su distribución de Linux, puede usar trust , update-ca -ificates u otro comando para marcar el certificado raíz generado como confiable.

    • ** Windows ** : tecla de Windows + R y ejecute certmgr.msc y seleccione `Autoridades de certificación raíz de confianza -> certificados -> clic derecho -> Todas las tareas -> importar -> y luego siga las instrucciones

Deja un comentario

Deja un comentario

  • Nota *: Es posible que deba reiniciar su navegador para cargar correctamente el nuevo certificado raíz de confianza.
  1. Ejecute el script para crear un certificado de dominio para localhost :
    ''
    sh createSelfSigned.sh
    ''
  2. Mueva server.key y server.crt a una ubicación accesible en su servidor e inclúyalos al iniciarlo. En una aplicación Express que se ejecuta en Node.js, haría algo como esto:
    `` js
    var ruta = require ('ruta')
    var fs = require ('fs')
    var express = require ('express')
    var https = require ('https')
    var certOptions = {
    clave: fs.readFileSync (ruta.resolve ('compilación / cert / server.key')),
    cert: fs.readFileSync (ruta.resolve ('compilación / cert / server.crt'))
    }
    var app = express ()
    var server = https.createServer (certOptions, aplicación) .listen (443)
    '

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-  ** Windows ** : tecla de Windows + R y ejecute certmgr.msc y seleccione `Autoridades de certificación raíz de confianza -> certificados -> clic derecho -> Todas las tareas -> importar -> y luego siga las instrucciones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants