-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added WebNotifications request icon * web notifications * web notifications * web notifications, add https support * web notifications, add https support * web notifications, add https support * web notifications, add https support * web notifications, add https support documentation update * web notifications, add https support documentation update Co-authored-by: Dan Farrelly <djfarrelly@users.noreply.github.com>
- Loading branch information
1 parent
8607d26
commit db8dfd7
Showing
8 changed files
with
126 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# HTTPS | ||
By default MailDev will run on the http protocol. For Web Notification support you'll need | ||
to run MailDev on https. This can be done with a self signed certificate. | ||
|
||
## Create certificate | ||
Generate the certificate: | ||
```shell script | ||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/maildev.key -out /etc/ssl/certs/maildev.crt | ||
``` | ||
|
||
Answer the FQDN question with your domain name or ip: | ||
```shell script | ||
Common Name (e.g. server FQDN or YOUR name) []: 192.168.1.103 | ||
``` | ||
|
||
Files created: | ||
- /etc/ssl/private/maildev.key | ||
- /etc/ssl/certs/maildev.crt | ||
|
||
## Start MailDev with https | ||
Add the following arguments to your MailDev startup: | ||
```shell script | ||
--https | ||
--https-key /etc/ssl/private/maildev.key | ||
--https-cert /etc/ssl/certs/maildev.crt | ||
``` | ||
|
||
## Open maildev with https | ||
``` | ||
https:\\192.168.1.103:1080 | ||
``` | ||
As it's a self signed certificate, you need to accept it in your browser. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters