|
|
|
date: Fri, 9 Jun 2006 08:33:02 -0700,
group: microsoft.public.exchange2000.development
back
Re: Public Folder SSL setting
Thanks
I am a java user.
Everything sounds works fine only I can not get any response from server.
Here is my source code:
String secProviderName = "com.sun.crypto.provider.SunJCE";
java.security.Provider secProvider =
(java.security.Provider)Class.forName(secProviderName).newInstance();
Security.addProvider(secProvider);
HostConfiguration config = new HostConfiguration();
config.setProxy("172.16.0.20",8988);
setHostConfiguration(config);
// if want to going throught https: it is supposed to add the
following Provider
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
NTCredentials creds = new NTCredentials("8700@terrablade.com",
"test", "172.16.0.20:8988", "");
setState(new WebdavState());
HostConfiguration hostConfig = getHostConfiguration();
HttpState clientState = getState();
clientState.setCredentials(null, "172.16.0.20:8988",creds);
clientState.setAuthenticationPreemptive(true);
setConnectionTimeout(120000);
method = new
SearchMethod(URIUtil.encodePathQuery("https://172.16.0.20:8988/public/"));
**:172.16.0.20 is host, 8988 is port that public folder use.
There must be somthing wrong with my code, however,I do not know where!
Help would be great accepted
Thanks in advanced.
"Henning Krause [MVP - Exchange]" wrote:
> Hello,
>
> with what type of client are you accessing the server? .NET? Java?
>
> The only thing which typically arises is an invalid certificate (most likely
> because its not trusted). Beside from this, there is no difference in
> accessing the folder.
>
> Are you experiencing this type of problem?
>
> Best regards,
> Henning Krause
>
>
> "jeff" wrote in message
> news:D8C9BEB0-5C86-4EB8-9816-64EFFE8AEB99@microsoft.com...
> > Hi,All
> >
> > I want to use WEBDAV to access exchange Public Folder.
> >
> > One of my Customer Public Folder Security setting is SSL Enable.
> >
> > This is the first time I have met that problem.
> >
> > Is there any example or suggestion for me?
> >
> > Any word about that issue would be greated received.
> >
> > Thanks in advanced
>
>
date: Fri, 9 Jun 2006 09:46:01 -0700
author: jeff
|
|