KeyUsage = nonRepudiation, digitalSignature, keyEncipherment Sudo openssl rsa -in /Applications/XAMPP/xamppfiles/etc/ssl/localhost.key -out /Applications/XAMPP/xamppfiles/etc/ssl/Ĭreate a configuration file using Terminal.app: sudo touch /Applications/XAMPP/xamppfiles/etc/ssl/nfĮdit the newly created configuration file and add the following: ĭistinguished_name = req_distinguished_name Sudo openssl genrsa -out /Applications/XAMPP/xamppfiles/etc/ssl/localhost.key 2048 Next, generate two host keys: sudo openssl genrsa -out /Applications/XAMPP/xamppfiles/etc/server.key 2048 The instructions assume you already have a basic Apache configuration enabled on OSX, if this is not the case feel free to consult Gist: “ Enable Apache HTTP server (OSX)“Ĭreate a directory within /Applications/XAMPP/xamppfiles/etc/ using Terminal.app: sudo mkdir /Applications/XAMPP/xamppfiles/etc/ssl.The instructions have been verified with OSX El Capitan (10.11.2) running Apache 2.4.16. The following will guide you through the process of enabling SSL on a Apache webserver
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |