SSL on OSX XAMPP


#1

So, like the title says I need some help with this. Has anyone ever done this and would be willing to either write up a little tut or point me to a site that has a tutorial? I really need to know if this can be done and how it’s done. I have searched google and I couldn’t really find anything for OSX plenty of tuts for Windows though! Thanks all in advance!


#2

Is this local, or are you setting this to a domain? :slight_smile:

If it’s local, just try https://localhost/ and it should work :slight_smile:

Although obviously the browser will complain there’s no certificate… :smiley:


#3

@reaper -

Thanks for reply, this is local for test development. I have tried doing that and it gives me problem loading page?


#4
jrd89 said

@reaper -

Thanks for reply, this is local for test development. I have tried doing that and it gives me problem loading page?

What message comes up? :slight_smile:


#5

Unable to connect
Firefox can’t establish a connection to the server at localhost.

*   The site could be temporarily unavailable or too busy. Try again in a few
      moments.

*   If you are unable to load any pages, check your computer's network
      connection.

*   If your computer or network is protected by a firewall or proxy, make sure
      that Firefox is permitted to access the Web.

#6

Looks like your xampp server hasn’t got the correct ports configured for ssl… not sure mate…


#7

Just did a quick search and found some info on the xampp site

http://www.apachefriends.org/en/xampp-macosx.html

Do a search for ssl on that page.

Try running this in terminal :

sudo /Applications/XAMPP/xamppfiles/xampp startssl

:slight_smile:


#8

@reaper

Yea, :frowning: tried that and it says unknown command. Ugh, I’m definitely not a network / server type.


#9
jrd89 said

@reaper

Yea, :frowning: tried that and it says unknown command. Ugh, I’m definitely not a network / server type.

Alright what happens if you just type in this:

sudo /Applications/XAMPP/xamppfiles/xampp

and where have you installed xampp?


#10

Thank you! Based off what you have said, I have gotten it to work w/ this line:

sudo /Applications/XAMPP/xamppfiles/xampp enablessl

#11
jrd89 said

Thank you! Based off what you have said, I have gotten it to work w/ this line:

sudo /Applications/XAMPP/xamppfiles/xampp enablessl

Awesome, glad I could help :slight_smile:

I’m guessing that…

sudo /Applications/XAMPP/xamppfiles/xampp

…gave you a list of commands / instructed you how to use -help so you found enablessl ? :slight_smile:


#12
||+370036|Reaper-Media said-||
jrd89 said

Thank you! Based off what you have said, I have gotten it to work w/ this line:

sudo /Applications/XAMPP/xamppfiles/xampp enablessl

Awesome, glad I could help :slight_smile:

I’m guessing that…

sudo /Applications/XAMPP/xamppfiles/xampp

…gave you a list of commands / instructed you how to use -help so you found enablessl ? :slight_smile:

BINGO! :slight_smile: