• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Testing https
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing https


  • Subject: Re: Testing https
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 18 Nov 2004 09:26:47 -0800


On Nov 18, 2004, at 4:45 AM, Kieran Kelleher wrote:

Erwin, It seems from the URL that you are developing in Direct Connect mode. Your app was running on port 49656 via direct connect. When you switched to https protocol, the port switched to 443 which is the default for https, and you app is not running on port 443 via direct connect.

And if you send the request to the apps port,
https://kermac.local:49656/cgi-bin/WebObjects/MySecureApp.woa/wo/ 4BvGL0Qmzpo7PjiAmHdy70/0.1


You will still have trouble as direct connect does not "speak" HTTPS.


You need to ditch the direct connect development mode and develop in "deployment mode" using the built-in Apache and mod_ssl on your Mac. (I know that Chuck "left it all to us" on page 340 of Practical WO ;-) ). So to fill in the hole, I documented what I did to set it up on my Mac here:
Apache (very easy to set up in 20 seconds):
http://homepage.mac.com/kelleherk/iblog/C1216817469/E1192290575/ index.html


mod_ssl and https (a little bit more involved ... if you don't make a mistake, then maybe 20 or 30 minutes to set up:
http://homepage.mac.com/kelleherk/iblog/C755751163/E683365024/ index.html




And don't forget to add the launch argument -DWODirectConnectEnabled=false



Chuck


On Nov 18, 2004, at 7:18 AM, Erwin wrote:

I am testing an HTTPS WOApps (103.6, standalone, Apache is configured for SSL,
in httpd.conf and my ssl key generation I used 'kermac.local' as the host name



in the dev environment I launch successfully 'MySecureApp' main page
-> http://kermac.local:49656/cgi-bin/WebObjects/MySecureApp.woa


then I hit a link to a NonSecurePage going to :
-> http://kermac.local:49656/cgi-bin/WebObjects/MySecureApp.woa/wo/ 4BvGL0Qmzpo7PjiAmHdy70/0.1


where I have a link to a SecurePage, going to :
->https://kermac.local:443/cgi-bin/WebObjects/MySecureApp.woa/wo/ 4BvGL0Qmzpo7PjiAmHdy70/3.1


but then I get
The requested application was not found on this server.

I believe it's link to the fact I am running the my app in development mode , what should I modify to test it in this environment ? _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Testing https (From: Erwin <email@hidden>)
 >Re: Testing https (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: We couldn't write on everything :-) -Chuck
  • Next by Date: remotely print PDF files from WO
  • Previous by thread: Re: Testing https
  • Next by thread: remotely print PDF files from WO
  • Index(es):
    • Date
    • Thread