Download the PHP package assurdeal/sail-https without Composer
On this page you can find all versions of the php package assurdeal/sail-https. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sail-https
Laravel Sail Https
This package allows you to use HTTPS in your Laravel Sail development environment.
Installation
You can install the package via composer:
You can publish the config file with:
Usage
Add your authorized domains to your .env
file:
Add the following to your docker-compose.yml
file:
Set up SSL certificate
First get the Caddy container ID
Then copy the Certificate from the Container
MacOS
Finally, open up "Keychain Access.app" and drag and drop the certificate into the "login" keychain. Open the certificate (it should be called something like "Caddy Local Authority") and configure it to "Always Trust".
Windows
1) To add, use the command: certutil -addstore -f "ROOT" root.crt
2) To remove, use the command: certutil -delstore "ROOT" serial-number-hex
Linux (Ubuntu, Debian)
1) To add:
- Copy your CA to dir
/usr/local/share/ca-certificates/
- Use command:
sudo cp root.crt /usr/local/share/ca-certificates/root.crt
- Update the CA store:
sudo update-ca-certificates
2) To remove: - Remove your CA.
- Update the CA store:
sudo update-ca-certificates --fresh
Note: Restart Kerio Connect to reload the certificates in the 32-bit versions or Debian 7.
Linux (CentOs 6)
1) Install the ca-certificates package: yum install ca-certificates
2) Enable the dynamic CA configuration feature: update-ca-trust force-enable
3) Add it as a new file to /etc/pki/ca-trust/source/anchors/: cp root.crt /etc/pki/ca-trust/source/anchors/
4) Use command: update-ca-trust extract
Linux (CentOs 5)
Append your trusted certificate to file /etc/pki/tls/certs/ca-bundle.crt
cat root.crt >>/etc/pki/tls/certs/ca-bundle.crt
Note: Restart Kerio Connect to reload the certificates in the 32-bit version.
Testing
Credits
Big Thanks to all developers who worked hard to create something amazing!
Creator
Twitter: @PercyMamedy
GitHub: percymamedy
License
The MIT License (MIT). Please see License File for more information.