Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

396
Views
No se puede encontrar 'nombre_distinguido' en la configuración al generar CSR

Quiero generar una CSR con una porción de SAN y sigo recibiendo el siguiente error: unable to find 'distinguished_name' in config

Por lo que puedo decir, el cnf está estructurado adecuadamente y también se llama. Tenga en cuenta que el valor de CN no coincide con el SAN y es obligatorio para mi organización.

Aquí está el contenido de mi archivo cnf:

 [me@server-5007749 ~]$ cat openssl.cnf [ req ] distinguished_name = req_distinguished_name req_extensions = req_ext [ req_distinguished_name ] C = CA 0.OU = SSL 1.OU = Device O = MyOrg CN = 43546323 [ req_ext ] subjectAltName = @alt_names [ alt_names ] DNS.1 = my_fqdn_here.ca

Aquí está el contenido de mi script de shell que contiene el comando que crea la CSR:

 [me@server-5007749 ~]$ cat ssl.sh export OPENSSL_CONF=/home/me printenv OPENSSL_CONF openssl req -new -key /opt/rh/httpd24/root/etc/httpd/certs/private.key -out site_csr.csr

Aquí está el resultado de mi script de shell:

 [me@server-5007749 ~]$ ./ssl.sh /home/me unable to find 'distinguished_name' in config problems making Certificate Request 140524933736336:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:324:group=req name=distinguished_name

Editar #1

Probé con algunas versiones diferentes de OpenSSL pensando que podría obtener mejores resultados:

  • OpenSSL 1.0.2k-fips 26 de enero de 2017 (valor predeterminado de RHEL)
  • OpenSSL 1.1.1f 31 de marzo de 2020 (Cygwin)
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

OPENSSL_CONF se utiliza para especificar la ubicación del archivo de configuración. prueba esto

 export OPENSSL_CONF=/home/me/openssl.cnf
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!