microsoft.public.windows.backgroundtransfer
[Top] [All Lists]

Re: HTTPS and BITS

Subject: Re: HTTPS and BITS
From: "Statto"
Date: Mon, 28 Mar 2005 19:50:55 +0100
Newsgroups: microsoft.public.windows.backgroundtransfer
Thanks for your input Narayana.
I have managed to make BITS work using a server certificate for validation. 
Something that Microsoft need to be aware of is that the job is put into 
error with an invalid certificate  or certificate authority when either;

- certificate has expired
- root certificate authority is not trusted
- certificate authority itself is not trusted
- HTTPS URL address does not match certificate name
- Trying to access HTTPS site using HTTP URL

The issue is that BITS does not tell you what the actual problem is.  You 
have to work it out for yourself.  In comparison to this, IE presents a 
modal popup asking you whether you wish to proceed to access the SSL-enabled 
site.  The error message handling could be better to tell you what is 
actually wrong.  I only found out whilst using IE to access the secured 
site, although this will not always be possible, particularly when running 
as a windows service on a remote server.  May be one for a future BITS 
release.

Peter

"Narayana Mahankali [MSFT]" <narayanm@xxxxxxxxxxxxxxxxxxxx> wrote in message 
news:uRDMfp0LFHA.2988@xxxxxxxxxxxxxxxxxxxxxxx
> BITS does not support setting client certificates but it can transfer 
> content from a HTTPS server. It validates the server certificates and so 
> you should see that the job is put into an error state if the server 
> certificate is expired etc. If you are running into any specific issue 
> with HTTPS we would like to hear about it and find more details.
>
> -- 
> Narayana Mahankali
> Microsoft, BITS
>
> This posting is provided "As Is" with no warranties, and confers no 
> rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
>
> "Statto" <wardpd@xxxxxxxxxxxx> wrote in message 
> news:eKyeHglLFHA.3844@xxxxxxxxxxxxxxxxxxxxxxx
>> MSDN says that BITS supports transfers over HTTPS.  I know that BITS 
>> cannot use client certificates but has anyone had any experience of using 
>> BITS over HTTPS, ignoring certificates setting on IIS, and the issues 
>> encountered if any.
>>
>> Peter
>>
>
> 



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy