Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
6b6637c3
Commit
6b6637c3
authored
Jan 21, 2015
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adopt SSL guide to current way of setting SSL cert.
parent
878acca2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
SSL.md
docs/SSL.md
+5
-10
No files found.
docs/SSL.md
View file @
6b6637c3
# Mongoose SSL guide
# Mongoose SSL guide
SSL is a protocol that makes web communication secure. To enable SSL
SSL is a protocol that makes web communication secure. To enable SSL
in mongoose,
3
steps are required:
in mongoose,
2
steps are required:
1.
Valid certificate file must be created
1.
Create valid SSL certificate file
2.
`ssl_certificate`
options must be set to contain path to the
2.
Append SSL certificate file path to the
`listening_ports`
option
certificate file.
3.
`listening_ports`
option must contain a port number with letter
`s`
appended to it, which instructs Mongoose to use SSL for all connections
made to that port.
Below is the
`mongoose.conf`
file snippet for typical SSL setup:
Below is the
`mongoose.conf`
file snippet for typical SSL setup:
document_root www_root # Serve files in www_root directory
document_root www_root # Serve files in www_root directory
listening_ports 80r,443s # Redirect all HTTP requests to HTTPS
listening_ports 80,443:cert.pem # Listen on ports 80 and 443
ssl_certificate ssl_cert.pem # Location of certificate file
## How to create SSL certificate file
## How to create SSL certificate file
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment