这个90天吧,到期了还不能续
可以自制证书,在进入https之前给个页面让用户安装信任你的证书
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<Object ClassID="clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1"
codebase="/xenroll.cab#Version=5.131.3659.0"
ID=certHelper>
</Object>
<Script Language="VBScript">
function installcacert
ON ERROR resume next
dim sPKCS7
sPKCS7=""
sPKCS7=sPKCS7 & "-----BEGIN CERTIFICATE-----" & vbcrlf
sPKCS7=sPKCS7 &
"MIIDNzCCAuGgAwIBAgIJAMxk59KZfeVeMA0GCSqGSIb3DQEBBQUAMIGbMQswCQYD" & vbcrlf
sPKCS7=sPKCS7 &
"VQQGEwJjbjERMA8GA1UECBMIaml1amlhbmcxETAPBgNVBAcTCGppdWppYW5nMRYw" & vbcrlf
sPKCS7=sPKCS7 &
"FAYDVQQKEw1qaXVqaWFuZyB1bml2MQ0wCwYDVQQLEwRpdHJjMRgwFgYDVQQDEw9p" & vbcrlf
sPKCS7=sPKCS7 &
"dHJjLmpqdS5lZHUuY24xJTAjBgkqhkiG9w0BCQEWFnpoYW5naGFvMTk3OUBnbWFp" & vbcrlf
sPKCS7=sPKCS7 &
"bC5jb20wHhcNMDgwMzI5MDgyNzI2WhcNMTgwMzI3MDgyNzI2WjCBmzELMAkGA1UE" & vbcrlf
sPKCS7=sPKCS7 &
"BhMCY24xETAPBgNVBAgTCGppdWppYW5nMREwDwYDVQQHEwhqaXVqaWFuZzEWMBQG" & vbcrlf
sPKCS7=sPKCS7 &
"A1UEChMNaml1amlhbmcgdW5pdjENMAsGA1UECxMEaXRyYzEYMBYGA1UEAxMPaXRy" & vbcrlf
sPKCS7=sPKCS7 &
"Yy5qanUuZWR1LmNuMSUwIwYJKoZIhvcNAQkBFhZ6aGFuZ2hhbzE5NzlAZ21haWwu" & vbcrlf
sPKCS7=sPKCS7 &
"Y29tMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKkoLcP1Kr7CPAJpuQD06ZdZRJg8" & vbcrlf
sPKCS7=sPKCS7 &
"o2HHfmy9xi+aSWBycHAmq6djH/ynJk3Ky3W+GqsgmQfkL9jEqJakbzrIbtMCAwEA" & vbcrlf
sPKCS7=sPKCS7 &
"AaOCAQQwggEAMB0GA1UdDgQWBBRSh1F5VPe8L6SA4sfJ1naOw6P46zCB0AYDVR0j" & vbcrlf
sPKCS7=sPKCS7 &
"BIHIMIHFgBRSh1F5VPe8L6SA4sfJ1naOw6P466GBoaSBnjCBmzELMAkGA1UEBhMC" & vbcrlf
sPKCS7=sPKCS7 &
"Y24xETAPBgNVBAgTCGppdWppYW5nMREwDwYDVQQHEwhqaXVqaWFuZzEWMBQGA1UE" & vbcrlf
sPKCS7=sPKCS7 &
"ChMNaml1amlhbmcgdW5pdjENMAsGA1UECxMEaXRyYzEYMBYGA1UEAxMPaXRyYy5q" & vbcrlf
sPKCS7=sPKCS7 &
"anUuZWR1LmNuMSUwIwYJKoZIhvcNAQkBFhZ6aGFuZ2hhbzE5NzlAZ21haWwuY29t" & vbcrlf
sPKCS7=sPKCS7 &
"ggkAzGTn0pl95V4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAANBAEAB1+nN" & vbcrlf
sPKCS7=sPKCS7 &
"S7hbS3dMjIp+y4MJ6i8TSdOEh2+0W/K0A63+PMXDf2fc1iYmeJVSoUiPM+fLAyOq" & vbcrlf
sPKCS7=sPKCS7 & "I+ghyTfLH/o0dQo=" & vbcrlf
sPKCS7=sPKCS7 & "-----END CERTIFICATE-----" & vbcrlf
certHelper.InstallPKCS7(sPKCS7)
if err.number = 438 then
msgbox "请升级你的XEnroll控件!"
elseif err.number <> 0 then
msgbox "安装证书链出错!"
else
msgbox "CA证书链下载完毕。"
document.location="http://........"
end if
end function
</script>
</head>
<body onload="installcacert()"> </body>
</html>
我就这样用的,用户体验稍微差点
【 在 hilyjiang (Hily) 的大作中提到: 】
: comodo
--
修改:ZeeEitch FROM 218.95.47.*
FROM 218.95.47.*