diff options
Diffstat (limited to 'base/ca')
5 files changed, 16 insertions, 16 deletions
diff --git a/base/ca/shared/webapps/ca/agent/ca/displayBySerial.template b/base/ca/shared/webapps/ca/agent/ca/displayBySerial.template index 2bb2bfab7..3b58a4779 100644 --- a/base/ca/shared/webapps/ca/agent/ca/displayBySerial.template +++ b/base/ca/shared/webapps/ca/agent/ca/displayBySerial.template @@ -179,11 +179,11 @@ The following format can be used to install this certificate into a server. Base 64 encoded certificate </font> <p><pre> ------BEGIN CERTIFICATE----- <SCRIPT type="text/javascript"> +document.writeln('-----BEGIN CERTIFICATE-----'); document.write(result.header.certChainBase64); +document.writeln('-----END CERTIFICATE-----'); </SCRIPT> ------END CERTIFICATE----- </pre> <font size=-1 face="PrimaSans BT, Verdana, sans-serif"> @@ -191,11 +191,11 @@ document.write(result.header.certChainBase64); Base 64 encoded certificate with CA certificate chain in pkcs7 format </font> <p><pre> ------BEGIN CERTIFICATE CHAIN----- <SCRIPT type="text/javascript"> +document.writeln('-----BEGIN CERTIFICATE CHAIN-----'); document.write(result.header.pkcs7ChainBase64); +document.writeln('-----END CERTIFICATE CHAIN-----'); </SCRIPT> ------END CERTIFICATE CHAIN----- </pre> <br><p> diff --git a/base/ca/shared/webapps/ca/agent/ca/displayBySerial2.template b/base/ca/shared/webapps/ca/agent/ca/displayBySerial2.template index 4a193e324..7923f4153 100644 --- a/base/ca/shared/webapps/ca/agent/ca/displayBySerial2.template +++ b/base/ca/shared/webapps/ca/agent/ca/displayBySerial2.template @@ -97,11 +97,11 @@ The following format can be used to install this certificate into a server. Base 64 encoded certificate </font> <p><pre> ------BEGIN CERTIFICATE CHAIN----- <SCRIPT type="text/javascript"> +document.writeln('-----BEGIN CERTIFICATE CHAIN-----'); document.write(result.header.certChainBase64); +document.writeln('-----END CERTIFICATE CHAIN-----'); </SCRIPT> ------END CERTIFICATE CHAIN----- </pre> <br><p> diff --git a/base/ca/shared/webapps/ca/ee/ca/displayBySerial.template b/base/ca/shared/webapps/ca/ee/ca/displayBySerial.template index e9b4d72bf..d1e65fa63 100644 --- a/base/ca/shared/webapps/ca/ee/ca/displayBySerial.template +++ b/base/ca/shared/webapps/ca/ee/ca/displayBySerial.template @@ -104,11 +104,11 @@ The following format can be used to install this certificate into a server. Base 64 encoded certificate </font> <p><pre> ------BEGIN CERTIFICATE----- <SCRIPT LANGUAUGE="JavaScript"> +document.writeln('-----BEGIN CERTIFICATE-----'); document.write(result.header.certChainBase64); +document.writeln('-----END CERTIFICATE-----'); </SCRIPT> ------END CERTIFICATE----- </pre> <font size=-1 face="PrimaSans BT, Verdana, sans-serif"> @@ -116,11 +116,11 @@ document.write(result.header.certChainBase64); Base 64 encoded certificate with CA certificate chain in pkcs7 format </font> <p><pre> ------BEGIN CERTIFICATE----- <SCRIPT LANGUAUGE="JavaScript"> +document.writeln('-----BEGIN CERTIFICATE CHAIN-----'); document.write(result.header.pkcs7ChainBase64); +document.writeln('-----END CERTIFICATE CHAIN-----'); </SCRIPT> ------END CERTIFICATE----- </pre> <br><p> diff --git a/base/ca/shared/webapps/ca/ee/ca/displayBySerial2.template b/base/ca/shared/webapps/ca/ee/ca/displayBySerial2.template index f8f306499..7e6678f0b 100644 --- a/base/ca/shared/webapps/ca/ee/ca/displayBySerial2.template +++ b/base/ca/shared/webapps/ca/ee/ca/displayBySerial2.template @@ -97,11 +97,11 @@ The following format can be used to install this certificate into a server. Base 64 encoded certificate </font> <p><pre> ------BEGIN CERTIFICATE----- <SCRIPT LANGUAUGE="JavaScript"> +document.writeln('-----BEGIN CERTIFICATE-----'); document.write(result.header.certChainBase64); +document.writeln('-----END CERTIFICATE-----'); </SCRIPT> ------END CERTIFICATE----- </pre> <br><p> diff --git a/base/ca/shared/webapps/ca/ee/ca/displayCaCert.template b/base/ca/shared/webapps/ca/ee/ca/displayCaCert.template index 4e93919f5..49a91af11 100644 --- a/base/ca/shared/webapps/ca/ee/ca/displayCaCert.template +++ b/base/ca/shared/webapps/ca/ee/ca/displayCaCert.template @@ -43,9 +43,9 @@ if (result.header.displayFormat == "chain") { document.writeln('<center><b>' + result.header.subjectdn); document.writeln('</b></center><p></font><br>'); document.writeln('<pre>'); - document.writeln('-----BEGIN CERTIFICATE-----'); - document.writeln(result.header.chainBase64); - document.writeln('-----END CERTIFICATE-----'); + document.writeln('-----BEGIN CERTIFICATE CHAIN-----'); + document.write(result.header.chainBase64); + document.writeln('-----END CERTIFICATE CHAIN-----'); document.writeln('</pre>'); } else if (result.header.displayFormat == "individual") { if (result.recordSet.length == 0) { @@ -86,7 +86,7 @@ function displayCertificate(cert,i) document.writeln(''); document.writeln('<pre>'); document.writeln('-----BEGIN CERTIFICATE-----'); - document.writeln(cert.base64); + document.write(cert.base64); document.writeln('-----END CERTIFICATE-----'); document.writeln('</pre>'); document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); |