Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: Running nginx with systemctl and entering ssl private key's pass phrase
Product: Red Hat Enterprise Linux 9 Reporter: lpellegr
Component: nginx-1.22-moduleAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: icesalov
Severity: low Docs Contact: Lenka Špačková <lkuprova>
Priority: unspecified    
Version: 9.3CC: icesalov, luhliari
Target Milestone: rcKeywords: AutoVerified, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of:
: 2213480 (view as bug list) Environment:
Last Closed: 2023-11-07 08:37:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2213480    

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