View Light

Working with the IIS 5.0 Metabase

In the \wwwroot\AdminScripts directory is the file adsutil.vbs, this is used to modify the Metabase from the command line.

adsutil SET w3svc/CheckCertMode 1 (To turn OFF checking)
adsutil SET w3svc/CheckCertMode 0 (To turn ON checking)

You can check the value with:

adsutil GET w3svc/CheckCertMode

Note that setting values prefixed with "w3svc/" sets the value globally - for all web sites running on the server. If there were a site with multiple web sites defined, then you can specify individual sites like:

adsutil SET w3svc/1/CheckCertMode 1  (For Site 1)
adsutil SET w3svc/2/CheckCertMode 1 (For Site 2)

You can list all defined values with:

adsutil ENUM w3svc/

There are optional values undefined by default (As is CheckCertMode) that can be found by reading documentation on the MetaBase.

In the upcoming IIS 6.0, the MetaBase is changed to a MetaBase.xml file which will be much easier to work with...
Reply
This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those who have expressed a prior interest in receiving the included information for research and educational purposes. For more information go to: http://www.law.cornell.edu/uscode/17/107.shtml . If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner.