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

From version 45.1
edited by Kieran Kelleher
on 2008/07/21 18:19
Change comment: There is no comment for this version
To version 47.1
edited by Kieran Kelleher
on 2008/07/21 18:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -77,33 +77,17 @@
77 77  
78 78  === Configure Apache2 to Use Your Development Certificates for localhost ===
79 79  
80 -**/etc/apache2/httpd.conf**
80 +Using you favorite text editor, edit the apache2 config file at
81 +/etc/apache2/httpd.conf
81 81  making the changes shown in the following 2 screenshots:
82 82  
83 -{{panel title="Setting Apache server name to localhost"}}
84 +[[image:step1_servernamelocalhost.jpg]]
85 + [[image:step2_includesslconfig.jpg]]
86 + 
87 +Next edit the ssl config file itself making the changes shown in the following sceenshot:
88 +\\ [[image:step3_sslconfig.jpg]]
89 +\\Finally, restart apache
84 84  
85 -!step1_servernamelocalhost.jpg!
86 -
87 -{{/panel}}
88 -
89 -{{panel title="Including SSL Configuration file into main Apache config file"}}
90 -
91 -!step2_includesslconfig.jpg!
92 -
93 -{{/panel}}
94 -
95 -Next edit the ssl config file itself at
96 -**/etc/apache2/extra/httpd-ssl.conf**
97 - making the changes shown in the following sceenshot:
98 -
99 -{{panel title="Setting up the SSL Config file"}}
100 -
101 -!step3_sslconfig.jpg!
102 -
103 -{{/panel}}
104 -
105 -Restart apache
106 -
107 107  {{noformat}}
108 108  
109 109  bash-3.2# apachectl graceful
... ... @@ -110,14 +110,6 @@
110 110  
111 111  {{/noformat}}
112 112  
113 -Finally, verify that https is working:
114 -
115 -{{panel title="Verify https://localhost is working"}}
116 -
117 -!httpslocalhost.jpg!
118 -
119 -{{/panel}}
120 -
121 121  == Detecting SSL ==
122 122  
123 123  Code for detecting whether SSL is active for the current request: