|
From: Gait B. <gai...@ti...> - 2003-06-12 04:59:11
|
Hi Brad, you may want to try it with the machine's "real" hostname first. That shouldn't suffer from localhost special case handling, if any. AFAIK, the only key factor is that the hostname you use to contact the server is identical to the one in the SSL certificate's common name. --Gait. ----- Original Message ----- From: "Geilfuss, Brad" <Bra...@Si...> To: <ebx...@li...> Sent: Wednesday, June 11, 2003 9:15 PM Subject: RE: [ebxmlms-general] HTTPS hostname wrong? hmm. not sure this is the cause. when i used keygen, i was careful to set the issuer as my ipaddress. i've tried issuing keys as localhost, my actual ipaddress, and 127.0.0.1. and adjusting LoopBack.java against every combination each time, the message i get tells me that my host name should be "foo" where foo is whataever domain name entered under toMshUrl in LoopBack.java, regardless of what certificate i have in the keystore (i only put one in at a time). i've restarted tomcat everytime i modify the keystores. the exception is thrown at the line in loopback that instatiates the Request object. i'd cut and paste the full stacktrace, but that machine isn't connected to the internet. == Brad Geilfuss Sierra Systems 400 N. Continental Blvd., Suite 300 El Segundo, CA 90245 Main: 310.536.6288 Dir: 310.743.8265 Fax: 310.536.6282 www.SierraSystems.com -----Original Message----- From: Patrick Yee [mailto:kc...@ce...] Sent: Tuesday, June 10, 2003 7:00 PM To: ebx...@li... Subject: Re: [ebxmlms-general] HTTPS hostname wrong? You may try to investigate the common name of the server certificate that your app server is using. In our experience when doing development, the common name of the certificate of the app server should be the same as the hostname part of the URL to request. Regards, -Patrick Geilfuss, Brad wrote: >Hi all- > >I have a few hermes MSH servers running, but I've hit an odd snag when I try to do the loopback test using https from a win2k machine that I don't get on other OS's. The error is: > > >hk.hku.cecid.phoenix.handler.RequestException: HTTPS hostname wrong: should be <localhost> > > >I have the URL in the msh_client.properties.xml file set to https://localhost:8443/msh/ and I have the same URL in LoopBack.java. > >If I change the URL in msh_client.properties.xml to http://localhost:8080/msh/, everything works fine. > >Hermes finds the certificates OK so far as I can tell (after i added %JAVA%/bin to my PATH variable). > >Has anyone else gotten this error and know what the root is? > >When I loopback from a HP-UX machine using this machine as the MSH, I don't have this error. > >regards, >Brad > > >== >Brad Geilfuss >Sierra Systems >400 N. Continental Blvd., Suite 300 >El Segundo, CA 90245 >Main: 310.536.6288 >Dir: 310.743.8265 >Fax: 310.536.6282 >www.SierraSystems.com > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >ebxmlms-general mailing list >ebx...@li... >https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ ebxmlms-general mailing list ebx...@li... https://lists.sourceforge.net/lists/listinfo/ebxmlms-general ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ ebxmlms-general mailing list ebx...@li... https://lists.sourceforge.net/lists/listinfo/ebxmlms-general |