Mudanças entre as edições de "Gerar CSR no OpenSSL"

De BrapciWiki
Ir para navegação Ir para pesquisar
(Criou página com '= Instalar o pacote OpenSSL = apt-get install openssl = Gerar a chave RSA = Acesso o diretório das chaves Cria uma chave 4096 openssl genrsa -out cedap.ufrgs.br.key 409...')
 
Linha 24: Linha 24:
 
  State or Province Name (full name) []:Rio Grande do Sul
 
  State or Province Name (full name) []:Rio Grande do Sul
 
  Locality Name (eg, city) [Default City]:Porto Alegre
 
  Locality Name (eg, city) [Default City]:Porto Alegre
  Organization Name (eg, company) [Default Company Ltd]:UFRGS
+
  Organization Name (eg, company) [Default Company Ltd]:Universidade Federal do Rio Grande do Sul
  Organizational Unit Name (eg, section) []:CEDAP
+
  Organizational Unit Name (eg, section) []: Centro de Documentação de Acervo Digit al da Pesquisa - CEDAP
  Common Name (eg, your name or your server's hostname) []:cedap.dspace
+
  Common Name (eg, your name or your server's hostname) []:cedap.ufrgs.br
 
  Email Address []:cedap@ufrgs.br
 
  Email Address []:cedap@ufrgs.br
  
 
  Please enter the following 'extra' attributes
 
  Please enter the following 'extra' attributes
 
  to be sent with your certificate request
 
  to be sent with your certificate request
  A challenge password []:***********
+
  A challenge password []:Cedap@*****
 
  An optional company name []:
 
  An optional company name []:

Edição das 14h31min de 30 de julho de 2020

Instalar o pacote OpenSSL

apt-get install openssl

Gerar a chave RSA

Acesso o diretório das chaves

Cria uma chave 4096

openssl genrsa -out cedap.ufrgs.br.key 4096

Criar o CSR

openssl req -new -sha256 -key cedap.ufrgs.br.key -out cedap.ufrgs.br.csr
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:BR
State or Province Name (full name) []:Rio Grande do Sul
Locality Name (eg, city) [Default City]:Porto Alegre
Organization Name (eg, company) [Default Company Ltd]:Universidade Federal do Rio Grande do Sul
Organizational Unit Name (eg, section) []: Centro de Documentação de Acervo Digit al da Pesquisa - CEDAP
Common Name (eg, your name or your server's hostname) []:cedap.ufrgs.br
Email Address []:cedap@ufrgs.br
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:Cedap@*****
An optional company name []: