RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2170808 - Running nginx with systemctl and entering ssl private key's pass phrase
Summary: Running nginx with systemctl and entering ssl private key's pass phrase
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: nginx-1.22-module
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: icesalov
Lenka Špačková
URL:
Whiteboard:
: 2213480 (view as bug list)
Depends On:
Blocks: 2213480
TreeView+ depends on / blocked
 
Reported: 2023-02-17 09:25 UTC by lpellegr
Modified: 2023-11-07 10:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
.A new `ssl_pass_phrase_dialog` directive in `nginx:1.22` With this update to the `nginx:1.22` module stream, you can use the new `ssl_pass_phrase_dialog` directive to configure an external program that is called at `nginx` start for each encrypted private key. To use the new directive, add one of the following lines to the `/etc/nginx/nginx.conf` file: * To call an external program for each encrypted private key file, enter: + ---- ssl_pass_phrase_dialog exec:<path_to_program>; ---- + `nginx` calls this program with the following two arguments: + ** The server name specified in the `server_name` setting. ** One of the following algorithms: `RSA`, `DSA`, `EC`, `DH`, or `UNK` if a cryptographic algorithm cannot be recognized. * If you want to manually enter a passphrase for each encrypted private key file, enter: + ---- ssl_pass_phrase_dialog builtin; ---- + This is the default behavior if `ssl_pass_phrase_dialog` is not configured. + Note that the `nginx` service fails to start if you use this method but have at least one private key protected by a passphrase. In this case, use one of the other methods. * If you want `systemd` to prompt for the passphrase for each encrypted private key when you start the `nginx` service by using the `systemctl` utility, enter: + ---- ssl_pass_phrase_dialog exec:/usr/libexec/nginx-ssl-pass-dialog; ---- Note that the `ssl_pass_phrase_dialog` directive in `nginx` is similar to the `SSLPassPhraseDialog` directive in the Apache HTTP Server.
Clone Of:
: 2213480 (view as bug list)
Environment:
Last Closed: 2023-11-07 08:37:15 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-149048 0 None None None 2023-02-17 09:27:44 UTC
Red Hat Product Errata RHEA-2023:6562 0 None None None 2023-11-07 08:37:18 UTC

Comment 12 Luboš Uhliarik 2023-08-07 11:38:58 UTC
*** Bug 2213480 has been marked as a duplicate of this bug. ***

Comment 27 errata-xmlrpc 2023-11-07 08:37:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (nginx:1.22 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:6562


Note You need to log in before you can comment on or make changes to this bug.