diff options
author | mharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-06-09 02:14:47 +0000 |
---|---|---|
committer | mharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-06-09 02:14:47 +0000 |
commit | ce842117d0e57ef7ef31c4e54fd955fab25b80d9 (patch) | |
tree | c39375dae59a8fa82a5438638e29325a5afc5ae5 /pki/base/ra/lib/perl/PKI | |
parent | fee1581f2f47074cac4ab0641ffc078df242d58c (diff) | |
download | pki-ce842117d0e57ef7ef31c4e54fd955fab25b80d9.tar.gz pki-ce842117d0e57ef7ef31c4e54fd955fab25b80d9.tar.xz pki-ce842117d0e57ef7ef31c4e54fd955fab25b80d9.zip |
Bugzilla Bug #501081 - remove mod_revocator rpm as a dependency.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@568 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/ra/lib/perl/PKI')
-rwxr-xr-x | pki/base/ra/lib/perl/PKI/RA/DonePanel.pm | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/pki/base/ra/lib/perl/PKI/RA/DonePanel.pm b/pki/base/ra/lib/perl/PKI/RA/DonePanel.pm index 87d8bd8c4..f5e86fc6b 100755 --- a/pki/base/ra/lib/perl/PKI/RA/DonePanel.pm +++ b/pki/base/ra/lib/perl/PKI/RA/DonePanel.pm @@ -333,44 +333,6 @@ sub display system( "rm $instDir/conf/nss.conf.tmp" ); } - # Rewrite "revocator.conf", activating the CRLEngine, and appending - # the security domain getCRL URL to end of the file - open( TMP_REVOCATOR_CONF, ">$instDir/conf/revocator.conf.tmp" ); - system( "chmod 00660 $instDir/conf/revocator.conf.tmp" ); - open( REVOCATOR_CONF, "<$instDir/conf/revocator.conf" ); - while( <REVOCATOR_CONF> ) { - if( /^CRLEngine/ ) { - # Bugzilla Bug #493122: Activate CRLEngine on RHEL, - # but NOT on Fedora! - if( -e "/etc/fedora-release" ) { - print TMP_REVOCATOR_CONF "CRLEngine off\n"; - } else { - # Bugzilla Bug #498528 Disable mod_revocator on RHEL - # since it will no longer work - # with the updated mod_nss which - # is required for HSMs - print TMP_REVOCATOR_CONF "CRLEngine off\n"; - } - } else { - print TMP_REVOCATOR_CONF $_; - } - } - # Append security domain getCRL URL to end of "revocator.conf.tmp" - print TMP_REVOCATOR_CONF "CRLFile \"" . $sdom - . "/ca/ee/ca/getCRL?op=getCRL&crlIssuingPoint=MasterCRL;60;60\"\n"; - close( REVOCATOR_CONF ); - close( TMP_REVOCATOR_CONF ); - - # Create a copy of the original file which - # preserves the original file permissions - system( "cp -p $instDir/conf/revocator.conf.tmp " - . "$instDir/conf/revocator.conf" ); - - # Remove the original file only if the backup copy was successful - if( -e "$instDir/conf/revocator.conf" ) { - system( "rm $instDir/conf/revocator.conf.tmp" ); - } - &PKI::RA::Wizard::debug_log("DonePanel: Connecting to Security Domain"); my $machineName = $::config->get("service.machineName"); |