Re: https and WO

From: Aaron Hipple (aaro..cdsp.com)
Date: Tue Jul 31 2007 - 20:36:58 EDT

  • Next message: Chuck Hill: "Re: Strange error occurring with wocomponents in application"

    Thanks Chunk!

    So it appears I am one step closer. When following the link to
    "https://localhost:443/cgi-bin/WebObjects/Chap4App.woa/wo/
    IzYhzB4TBmrlr74BOHMvVw/2.1" I got the browser warning about the
    unknown certificate, but then I only see "The requested application
    was not found on this server."

    Is there one more (perhaps even more simple) step I am missing?

    Thanks again,

    Aaron

    On Jul 31, 2007, at 10:29 AM, Chuck Hill wrote:

    >
    > 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 - 20:38:03 EDT