On Jul 31, 2007, at 9:40 AM, Aaron Hipple wrote:
> Hello all,
>
> I have a NOOB question, that may not have much at all to do with
> WO. However, I am trying to get my WO projects to work securely
> over https on my Mac OS X 10.4 development machine. I can test my
> WO projects (and the Chap4App example from Practical WebObjects)
> fine on http. I have set up the certificates on my machine so I
> can browse to https://localhost or https://127.0.0.1 (I followed
> instructions at http://developer.apple.com/internet/serverside/
> modssl.html).
>
> But, when I try to follow a secure WOHyperlink in the Chap4App
> example program, I get the following error:
>
> cant open page "https://computer-name.local:443/cgi-bin/
> WebObjects/..." because it couldn't establish a secure connection
> to the server computer-name.local
>
> So I am guessing it has something to do with the fact that computer-
> name.local is not the same thing as localhost. But, where do I
> address this issue, in my httpd.conf or in the WO project? Also,
> what about the port number? I cannot bind my WOPort to 443, is
> there somewhere else I have to make the connection between the port
> WO is running on and the secure port 443?
Go to Run - Run... and look at the launch configuration your are
using. Click on the WO tab. Add -WOHost (note the - ) with a value
of localhost.
Chuck
--Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects
This archive was generated by hypermail 2.0.0 : Tue Jul 31 2007 - 13:30:30 EDT