Changes for page Development-SSL requests via https protocol
Last modified by Yana Oksner on 2026/01/08 12:04
From version 56.1
edited by Paul Hoadley
on 2012/03/19 19:33
on 2012/03/19 19:33
Change comment:
There is no comment for this version
To version 60.1
edited by Yana Oksner
on 2026/01/08 12:04
on 2026/01/08 12:04
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +documentation.Home.How-tos.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. paulh1 +XWiki.yanasd - Tags
-
... ... @@ -1,0 +1,1 @@ 1 +wikireview|deployment - Content
-
... ... @@ -22,7 +22,7 @@ 22 22 23 23 == Development via Apache Webserver == 24 24 25 -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>>doc:Development Tools-Running Through Apache]] using the host name "localhost". 25 +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>>doc:documentation.Home.How-tos.Development Tools-Running Through Apache.WebHome]] using the host name "localhost". 26 26 27 27 == Configuring Apache for [[https:~~/~~/localhost>>url:https://localhost||shape="rect"]] == 28 28 ... ... @@ -32,7 +32,7 @@ 32 32 33 33 Open terminal and follow the commands shown below in my transcript which is self-explanatory if you are familiar with Terminal... 34 34 35 -{{ noformat}}35 +{{code}} 36 36 37 37 mymac$ cd /etc/apache2/ 38 38 mymac$ sudo -s ... ... @@ -41,12 +41,12 @@ 41 41 bash-3.2# cd devsslcerts/ 42 42 43 43 44 -{{/ noformat}}44 +{{/code}} 45 45 46 46 Next run the one single openssl command that will make the two files we need in their final folder that we just created above. 47 47 Note you will be asked for a bunch of info for the certificate. Follow what I have done below. **In particular, enter "localhost" in the Common Name field!** 48 48 49 -{{ noformat}}49 +{{code}} 50 50 51 51 bash-3.2# openssl req -days 3650 -new -x509 -nodes -out localhost_server.crt -keyout localhost_server.key 52 52 ... ... @@ -78,7 +78,7 @@ 78 78 -rw-r--r-- 1 root wheel 887 Jul 21 16:58 localhost_server.key 79 79 80 80 81 -{{/ noformat}}81 +{{/code}} 82 82 83 83 === Configure Apache2 to Use Your Development Certificates for localhost === 84 84 ... ... @@ -104,11 +104,11 @@ 104 104 105 105 Restart apache 106 106 107 -{{ noformat}}107 +{{code}} 108 108 109 109 bash-3.2# apachectl graceful 110 110 111 -{{/ noformat}}111 +{{/code}} 112 112 113 113 ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- 114 114
- httpslocalhost2.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +97.5 KB - Content
- step1_servernamelocalhost.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.5 KB - Content
- step2_includesslconfig.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.3 KB - Content
- step3_sslconfig.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +99.4 KB - Content