161 lines
7.3 KiB
PHP
161 lines
7.3 KiB
PHP
|
<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" & _
|
||
|
"CgKCAgEAziLA4kZ97DYoB1CW8qAzQIxL8TtmPzHlawI229Z89vGIj053NgVBlfkJ" & _
|
||
|
"8BLPRoZzYLdufujAWGSuzbCtRRcMY/pnCujW0r8+55jE8Ez64AO7NV1sId6eINm6" & _
|
||
|
"zWYyN3L69wj1x81YyY7nDl7qPv4coRQKFWyGhFtkZip6qUtTefWIonvuLwphK42y" & _
|
||
|
"fk1WpRPs6tqSnqxEQR5YYGUFZvjARL3LlPdCfgv3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||
|
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&message=Can't%20instantiate%20the%20CEnroll%20control:%20" & Hex(err)
|
||
|
Else
|
||
|
Call Enroll.InstallPKCS7(credentials)
|
||
|
If err.Number <> 0 then
|
||
|
location = "index.php?id=18&message=Problems%20were%20detected%20with%20the%20CACert%20root%20certificate%20download%20error:%20" & Hex(err)
|
||
|
Else
|
||
|
location = "index.php?id=18&message=The%20CACert%20root%20certificate%20was%20successfully%20installed"
|
||
|
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://text.happysnapper.net/?userid=06f45be90b9c7456f98f304d0cae3405&border=FFFFFF&bg=FFFFFF&nourl=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="news.php">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ñol</a>
|
||
|
<a href="index.php?id=0&lang=fr_FR">Franç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ês</a>
|
||
|
<a href="index.php?id=0&lang=pt_BR">Português Brasileiro</a>
|
||
|
<a href="index.php?id=0&lang=ru_RU">Русский</a>
|
||
|
<a href="index.php?id=0&lang=sv_SE">Svenska</a>
|
||
|
<a href="index.php?id=0&lang=tr_TR">Türkçe</a>
|
||
|
|
||
|
<a href="index.php?id=0&lang=zh_CN">中文(简体)</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&sid=164863&js=no&" 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> |
|
||
|
©2004 by CAcert</div>
|
||
|
|
||
|
</div>
|
||
|
</BODY>
|
||
|
</HTML>
|