Last modified by Aaron Rosenzweig on 2012/03/19 19:33

From version 38.1
edited by Kieran Kelleher
on 2008/07/21 18:31
Change comment: There is no comment for this version
To version 48.1
edited by cat4ever
on 2010/11/26 03:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Web Applications-Development-SSL requests via https protocol
1 +Development-SSL requests via https protocol
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kieran
1 +XWiki.cat4ever
Content
... ... @@ -15,6 +15,14 @@
15 15  
16 16  {{/info}}
17 17  
18 +=== References ===
19 +
20 +* [[http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#selfcert]]
21 +* [[http://homepage.mac.com/kelleherk/iblog/C463983418/E683365024/index.html]]
22 +* [[http://www.macosxhints.com/article.php?story=20080628074917113]]
23 +* [[http://www.macosxhints.com/article.php?story=20041129143420344]]
24 +* [[http://developer.apple.com/internet/serverside/modssl.html]]
25 +
18 18  == Development via Apache Webserver ==
19 19  
20 20  By default, WebObjects development installations typically run via DirectConnect. For https development, we must run thru the apache webserver built in to every OS X machine. So before going any further, configure your WebObjects development environment so that your development application launches and [[runs thru apache>>Development Tools-Running Through Apache]] using the host name "localhost".
... ... @@ -43,7 +43,7 @@
43 43  
44 44  {{noformat}}
45 45  
46 -bash-3.2# openssl req -new -x509 -nodes -out localhost_server.crt -keyout localhost_server.key
54 +bash-3.2# openssl req -days 3650 -new -x509 -nodes -out localhost_server.crt -keyout localhost_server.key
47 47  
48 48  Generating a 1024 bit RSA private key
49 49  .........................++++++
... ... @@ -111,6 +111,20 @@
111 111  
112 112  {{/noformat}}
113 113  
122 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
123 +
124 +JEFF SCHMITZ
125 +
126 +Right at this point I got the error:
127 +
128 +ulimit: open files: cannot modify limit: Invalid arg
129 +
130 +After a quick google search I found this which seems to have fixed the error:
131 +
132 +http:~/~/www.perkiset.org/forum/all_things_apple/apache_osx_and_ulimit_a_little_chunk_of_weirdness-t909.0.html
133 +
134 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
135 +
114 114  Finally, verify that https is working:
115 115  
116 116  {{panel title="Verify https://localhost is working"}}