Using SSL with Apache/PHP

129 views
Skip to first unread message

Chris Wiegman

unread,
Dec 26, 2013, 6:33:27 PM12/26/13
to example42-pu...@googlegroups.com
Hello,

I'm new to the module and I'm stuck. I can't for the life of me figure out how to get SSL to work. Adding "include apache::ssl" has no discernible effect and when there is nothing I can find on actually configuring a virtual host with SSL. Any suggestions?

Alessandro Franceschi

unread,
Dec 27, 2013, 9:11:42 AM12/27/13
to example42-pu...@googlegroups.com
Hi,
ex42 apache::ssl just includes the ssl module.
To configure a virtual host with ssh use the apache::vhost define passing a custom template with your ssl settings.:
Not too much, I know, but that's the way currently implemented.

al

Chris Wiegman

unread,
Dec 27, 2013, 9:47:50 AM12/27/13
to example42-pu...@googlegroups.com
Thanks. That’s what I was thinking. With the ability to specify ssl => true I thought maybe I was missing something.

Cheers,
Chris


--
You received this message because you are subscribed to a topic in the Google Groups "Example42 Puppet Modules" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/example42-puppet-modules/XAHPoD1mPhs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to example42-puppet-m...@googlegroups.com.
To post to this group, send email to example42-pu...@googlegroups.com.
Visit this group at http://groups.google.com/group/example42-puppet-modules.
For more options, visit https://groups.google.com/groups/opt_out.

signature.asc

Chris Wiegman

unread,
Dec 27, 2013, 11:13:48 PM12/27/13
to example42-pu...@googlegroups.com
Hello Sir,

For what it’s worth I’ve modified your vhost template to make it all work when the ssl flag is on. All one needs is a ssl cert with the servername as the name in /etc/apache2/ssl. I’ve attached the file if it could be of use (I didn’t get it from GitHub so a pull request seems a little much).

Cheers,
Chris

vhost.conf.erb
Reply all
Reply to author
Forward
0 new messages