[PR #17] [CLOSED] Openssl.cnf parameter #664

Closed
opened 2025-12-29 01:28:21 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/17
Author: @M-M-M-M
Created: 12/6/2015
Status: Closed

Base: masterHead: opensslcnf-parameter


📝 Commits (2)

  • edf46fd Add sed as a parameter variable in order to be able to specify the sed version that must be used.
  • 74f6f3f add opennssl.cnf as a parameter instead of hardcoded value to provide better portability across operating systems.

📊 Changes

2 files changed (+20 additions, -6 deletions)

View changed files

📝 config.sh.example (+12 -0)
📝 letsencrypt.sh (+8 -6)

📄 Description

add openssl.cnf as a parameter.

Default path is not always /etc/ssl/openssl.cnf

It could be some of following:

  • OPENSSLCNF=/System/Library/OpenSSL/openssl.cnf
  • OPENSSLCNF=/etc/pki/tls/openssl.cnf
  • OPENSSLCNF=/usr/lib/ssl/openssl.cnf
  • OPENSSLCNF=/usr/local/ssl/openssl.cnf

Goal is to avoid error like:


Signing domainwww.example.org (www.example.org)...
  + Generating signing request...
cat: /etc/ssl/openssl.cnf: No such file or directory
unable to find 'distinguished_name' in config
problems making Certificate Request
140735281533008:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:324:group=req name=distinguished_name

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dehydrated-io/dehydrated/pull/17 **Author:** [@M-M-M-M](https://github.com/M-M-M-M) **Created:** 12/6/2015 **Status:** ❌ Closed **Base:** `master` ← **Head:** `opensslcnf-parameter` --- ### 📝 Commits (2) - [`edf46fd`](https://github.com/dehydrated-io/dehydrated/commit/edf46fd465b39da63ff80f124917c80b731f54c9) Add sed as a parameter variable in order to be able to specify the sed version that must be used. - [`74f6f3f`](https://github.com/dehydrated-io/dehydrated/commit/74f6f3f44b4d1299edb52835b03f1d8dc27b18f1) add opennssl.cnf as a parameter instead of hardcoded value to provide better portability across operating systems. ### 📊 Changes **2 files changed** (+20 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `config.sh.example` (+12 -0) 📝 `letsencrypt.sh` (+8 -6) </details> ### 📄 Description add openssl.cnf as a parameter. Default path is not always /etc/ssl/openssl.cnf It could be some of following: - OPENSSLCNF=/System/Library/OpenSSL/openssl.cnf - OPENSSLCNF=/etc/pki/tls/openssl.cnf - OPENSSLCNF=/usr/lib/ssl/openssl.cnf - OPENSSLCNF=/usr/local/ssl/openssl.cnf Goal is to avoid error like: ``` Signing domainwww.example.org (www.example.org)... + Generating signing request... cat: /etc/ssl/openssl.cnf: No such file or directory unable to find 'distinguished_name' in config problems making Certificate Request 140735281533008:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:324:group=req name=distinguished_name ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 01:28:21 +01:00
adam closed this issue 2025-12-29 01:28:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#664