#7515 ipa-advise config-server-for-smart-card-auth refers to nss.conf despite the migration to ssl.conf
Closed: fixed Opened by frenaud.

Issue

When running ipa-advise config-server-for-smart-card-auth, the generated script refers to nss.conf although FreeIPA is now using ssl.conf.

Steps to Reproduce

  1. install IPA server
  2. kinit admin
  3. ipa-advise config-server-for-smart-card-auth

Actual behavior

The generated script contains the following:

# look for the OCSP directive in nss.conf
#  if it is present, switch it on
# if it is absent, append it to the end of VirtualHost section
if grep -q 'SSLOCSPEnable ' /etc/httpd/conf.d/nss.conf
then
  sed -i.ipabkp -r 's/^#*[[:space:]]*SSLOCSPEnable[[:space:]]+(on|off)$/SSLOCSPEnable on/' /etc/httpd/conf.d/nss.conf
else
  sed -i.ipabkp '/<\/VirtualHost>/i SSLOCSPEnable on' /etc/httpd/conf.d/nss.conf
fi

Expected behavior

The generated script should rather modify /etc/http/conf.d/ssl.conf

Version/Release/Distribution

master branch of freeipa

Additional info:

FreeIPA is using ssl.conf instead of nss.conf since commit 805aea2443c902cd7c5525102701f116b43da575


Metadata Update from @frenaud:
- Issue assigned to frenaud

Metadata Update from @frenaud:
- Issue set to the milestone: FreeIPA 4.7

Setting milestone to 4.7 since the migration was implemented in 4.7 (see ticket #3757)

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1855

JFI
PR already out by flo: https://github.com/freeipa/freeipa/pull/1855/files

master:

  • 2d5245cebcb498cf7c3c98f38784ed4d7d641c38 ipa-advise config-server-for-smart-card-auth: use mod-ssl

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata