all groups > iis security > april 2007 >
You're in the

iis security

group:

Enabling/disabling SSL via script


Enabling/disabling SSL via script Shawn Hansen
4/23/2007 3:59:19 PM
iis security: I have an situation where I'm trying to copy files via the Windows XP WebDAV
redirector to a Sharepoint server that has SSL enabled. Problem is that the
XP WebDAV redirector does not support SSL. If I temporarily disable SSL on
the site, the file copy works fine. I can then re-enable SSL and all is
well.

My goal is to automate this file copying process so that it happens daily
via a batch file/script, however, I need a way to enable and disable the SSL
options programmatically to make this process completely automated.

Does anyone know of a way to programmatically enable and disable the
"Require SSL" and "Require 128 bit encryption" checkboxes?

Thanks,

Shawn

Re: Enabling/disabling SSL via script Bernard Cheah [MVP]
4/24/2007 12:00:00 AM
You can use adsutil.vbs and manipulate the AccessSSL and AccessSSL128, etc
metabase keys.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: Enabling/disabling SSL via script Shawn Hansen
4/24/2007 4:56:27 PM
Thanks!

[quoted text, click to view]

Re: Enabling/disabling SSL via script Shawn Hansen
4/25/2007 2:16:06 PM
Got to looking at things a little more and was able to get SSL
enabled/disabled using the adsutil script running it locally. But I didn't
see an option to run that script on a remote machine.

Is there a way to edit the metabase on a remote machine via ADSUTIL or with
WMI or something like that?

Thanks again,

Shawn

[quoted text, click to view]

AddThis Social Bookmark Button