Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
List Certificates in Local Machine Certificate Store This ASP script shows how to list the certificates in the registry-based local machine certificate store. <html>
<head>
<title>List the Local Machine Certificates</title>
</head>
<body>
<%
' ASP script to list certificates in the local machine registry-based certificate store.
set ccs = Server.CreateObject("ChilkatCertificate.ChilkatCreateCS")
' Open the local machine certificate store.
set certStore = ccs.OpenLocalSystemStore()
' Iterate over the certificates
for i = 0 to certStore.NumCertificates - 1
set cert = certStore.GetCertificate(i)
Response.write cert.SubjectDN & "<br><br>"
next
%>
</body>
</html>
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.