/[smeserver]/rpms/e-smith-base/sme9/e-smith-base-5.6.0-modify-default-city.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme9/e-smith-base-5.6.0-modify-default-city.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Jan 23 04:10:28 2019 UTC (5 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-base-5_6_0-36_el6_sme, e-smith-base-5_6_0-35_el6_sme, HEAD
* Sun Nov 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 5.6.0-35.sme
- modify the default city and company [SME: 8168]

1 diff -ruN e-smith-base-5.6.0.old/root/etc/e-smith/templates/home/e-smith/ssl.crt e-smith-base-5.6.0/root/etc/e-smith/templates/home/e-smith/ssl.crt
2 --- e-smith-base-5.6.0.old/root/etc/e-smith/templates/home/e-smith/ssl.crt 2018-11-25 20:14:26.790446695 +0100
3 +++ e-smith-base-5.6.0/root/etc/e-smith/templates/home/e-smith/ssl.crt 2018-11-25 20:16:35.986753920 +0100
4 @@ -30,8 +30,8 @@
5 if ( $ttl_days > 2 ) {
6 my $expected_issuer = '/C=--' .
7 '/ST=----';
8 - $expected_issuer .= '/L=' . ($defaultCity ? $defaultCity : 'Newbury');
9 - $expected_issuer .= '/O=' . ($defaultCompany ? $defaultCompany : 'My Company Ltd');
10 + $expected_issuer .= '/L=' . ($defaultCity ? $defaultCity : 'Default City');
11 + $expected_issuer .= '/O=' . ($defaultCompany ? $defaultCompany : 'Default Company Ltd');
12 $expected_issuer .= "/OU=$defaultDepartment" if $defaultDepartment;
13 $expected_issuer .= "/CN=$commonName" .
14 "/emailAddress=$email";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed