IIS Server Security - Enabling/disabling SSL via script

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > April 2007 > Enabling/disabling SSL via script





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Enabling/disabling SSL via script
Shawn Hansen

2007-04-23, 7:22 pm

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


Bernard Cheah [MVP]

2007-04-24, 1:20 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/


"Shawn Hansen" <junk@junk.com> wrote in message
news:eQ8bjoehHHA.596@TK2MSFTNGP06.phx.gbl...
>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
>



Shawn Hansen

2007-04-24, 7:18 pm

Thanks!

"Bernard Cheah [MVP]" <qbernard@hotmail.com.discuss> wrote in message
news:%23WHGwuihHHA.4300@TK2MSFTNGP05.phx.gbl...
> 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/
>
>
> "Shawn Hansen" <junk@junk.com> wrote in message
> news:eQ8bjoehHHA.596@TK2MSFTNGP06.phx.gbl...
>
>



Shawn Hansen

2007-04-25, 7:22 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

"Bernard Cheah [MVP]" <qbernard@hotmail.com.discuss> wrote in message
news:%23WHGwuihHHA.4300@TK2MSFTNGP05.phx.gbl...
> 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/
>
>
> "Shawn Hansen" <junk@junk.com> wrote in message
> news:eQ8bjoehHHA.596@TK2MSFTNGP06.phx.gbl...
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com