1 |
burnat |
1.1 |
diff -urN e-smith-base-5.2.0.old/root/etc/e-smith/templates/home/e-smith/ssl.pem/60pem e-smith-base-5.2.0/root/etc/e-smith/templates/home/e-smith/ssl.pem/60pem |
2 |
|
|
--- e-smith-base-5.2.0.old/root/etc/e-smith/templates/home/e-smith/ssl.pem/60pem 1970-01-01 10:00:00.000000000 +1000 |
3 |
|
|
+++ e-smith-base-5.2.0/root/etc/e-smith/templates/home/e-smith/ssl.pem/60pem 2013-05-17 18:17:29.192892263 +1000 |
4 |
|
|
@@ -0,0 +1,12 @@ |
5 |
|
|
+{ |
6 |
|
|
+ my $pem = $modSSL{'CertificateChainFile'}; |
7 |
|
|
+ if ($pem) |
8 |
|
|
+ { |
9 |
|
|
+ open(PEM, $pem) or warn "Intermediate Certificate File defined, but cannot open $pem : $!"; |
10 |
|
|
+ my @pem = <PEM>; |
11 |
|
|
+ chomp @pem; |
12 |
|
|
+ $OUT = join "\n", @pem; |
13 |
|
|
+ close PEM; |
14 |
|
|
+ } |
15 |
|
|
+} |
16 |
|
|
+ |