cacert-webdb/pages/index/17.php
2008-04-06 19:45:09 +00:00

216 lines
10 KiB
PHP

<? /*
LibreSSL - CAcert web application
Copyright (C) 2004-2008 CAcert Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ ?>
<html>
<head>
<title><?=_("Install CAcert Root using CEnroll Active-X component and PKCS-7")?></title>
<link rel="stylesheet" href="styles/default.css" type="text/css">
<link href="http://my.rsscache.com/www.CAcert.org/rss.php" rel="alternate" type="application/rss+xml" title="rss">
</head>
<SCRIPT LANGUAGE="VBSCRIPT">
Sub InstallCert
credentials = "MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290" & _
"IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNB" & _
"IENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRA" & _
"Y2FjZXJ0Lm9yZzAeFw0wMzAzMzAxMjI5NDlaFw0zMzAzMjkxMjI5NDlaMHkxEDAO" & _
"BgNVBAoTB1Jvb3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEi" & _
"MCAGA1UEAxMZQ0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJ" & _
"ARYSc3VwcG9ydEBjYWNlcnQub3JnMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC" & _
"CgKCAgEAziLA4kZ97DYoB1CW8qAzQIxL8TtmPzHlawI229Z89vGIj053NgVBlf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m3xuTsdQAw+7Lzzw9IYCpX2Nl/N3gX6T0K/CFcUHUZyX7GrGXrtaZghNB" & _
"0m6lG5kngOcLqagA"
On Error Resume Next
Dim Enroll
Set Enroll = CreateObject("CEnroll.CEnroll.2")
if ( (Err.Number = 438) OR (Err.Number = 429) ) Then
Err.Clear
Set Enroll = CreateObject("CEnroll.CEnroll.1")
End If
if Err.Number <> 0 then
location = "index.php?id=18&errid=1&hex=" & Hex(err)
Else
Call Enroll.InstallPKCS7(credentials)
If err.Number <> 0 then
location = "index.php?id=18&errid=2&hex=" & Hex(err)
Else
Call Enroll.InstallPKCS7(credentials2)
If err.Number <> 0 then
location = "index.php?id=18&errid=2&hex=" & Hex(err)
Else
location = "index.php?id=18&errid=0&hex=0"
End if
End if
End If
End sub
</SCRIPT>
<body LANGUAGE="VBScript" ONLOAD="InstallCert">
<div id="pagecell1">
<div id="pageName"><br>
<h2><a href="http://www.CAcert.org"><img src="/images/cacert2.png" border="0" alt="CAcert.org logo"></a></h2>
<div id="googlead"><script type="text/javascript">
<!--
google_ad_client = "pub-0959373285729680";
google_alternate_ad_url = "http://www.CAcert.org/";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_color_link = "000000";
google_color_url = "000000";
google_color_text = "000000";
google_color_border = "FFFFFF";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>
</div>
<div id="pageNav">
<div class="relatedLinks">
<h3><?=_("Join CAcert.org")?></h3>
<a href="https://www.cacert.org/index.php?id=1">Join</a>
</div>
<div class="relatedLinks">
<h3><?=_("My Account")?></h3>
<a href="https://www.cacert.org/index.php?id=4">Normal Login</a>
<a href="https://secure.cacert.org/index.php?id=4">Cert Login</a>
<a href="https://www.cacert.org/index.php?id=5">Lost Password</a>
</div>
<div class="relatedLinks">
<h3>Miscellaneous</h3>
<a href="http://blog.cacert.org/">CAcert News</a>
<a href="help.php">Howto Information</a>
<a href="logos.php">CAcert Logos</a>
<a href="stats.php">CAcert Statistics</a>
<a href="index.php?id=3">Root Certificate</a>
<a href="revoke.crl">CRL</a>
<a href="http://my.rsscache.com/www.cacert.org/rss.php">RSS News Feed</a>
<a href="index.php?id=7">Credits</a>
<a href="index.php?id=8">CAcert Board</a>
</div>
<div class="relatedLinks">
<h3>Translations</h3>
<a href="index.php?id=0&lang=da_DK">Dansk</a>
<a href="index.php?id=0&lang=de_DE">Deutsch</a>
<a href="index.php?id=0&lang=en_AU">English</a>
<a href="index.php?id=0&lang=es_ES">Espa&#xf1;ol</a>
<a href="index.php?id=0&lang=fr_FR">Fran&#xe7;ais</a>
<a href="index.php?id=0&lang=it_IT">Italiano</a>
<a href="index.php?id=0&lang=hu_HU">Magyar</a>
<a href="index.php?id=0&lang=nl_NL">Nederlands</a>
<a href="index.php?id=0&lang=pt_PT">Portugu&#xea;s</a>
<a href="index.php?id=0&lang=pt_BR">Portugu&#xea;s Brasileiro</a>
<a href="index.php?id=0&lang=ru_RU">&#x420;&#x443;&#x441;&#x441;&#x43a;&#x438;&#x439;</a>
<a href="index.php?id=0&lang=sv_SE">Svenska</a>
<a href="index.php?id=0&lang=tr_TR">T&#xfc;rk&#xe7;e</a>
<a href="index.php?id=0&lang=zh_CN">&#x4e2d;&#x6587;(&#x7b80;&#x4f53;)</a>
</div>
</div>
<div id="content">
<div class="story">
<p><?=_("Install a Root Certificate using Internet Explorer and the CEnroll ActiveX control. This avoids the Microsoft Certificate Installation wizard and all of its complexity and extra screens for users. This however will ONLY work for Microsoft Internet Explorer.")?></p>
</div>
</div>
<div id="siteInfo">
<!--ONESTAT SCRIPTCODE START-->
<script type="text/javascript" src="onestat.js"></script>
<noscript>
<a href="http://www.onestat.com/asp/login.asp?sid=164863">
<img src="http://stat.onestat.com/asp/stat.asp?tagver=1&amp;sid=164863&amp;js=no&amp;" alt="this site tracked by onestat.com" />
</a>
</noscript>
<!--ONESTAT SCRIPTCODE END--> <a href="index.php?id=12">About Us</a> | <a href="index.php?id=13">Donations</a> |
<a href="index.php?id=10">Privacy Policy</a> |
<a href="index.php?id=51">Mission Statement</a> | <a href="index.php?id=11">Contact Us</a> |
&copy;2002-<?=date("Y")?> by CAcert</div>
</div>
</BODY>
</HTML>