Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
re6stnet
Commits
9f01d5d1
Commit
9f01d5d1
authored
Dec 28, 2015
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: give examples of command to create key/dh files
parent
e5d9c4b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
docs/re6stnet.rst
docs/re6stnet.rst
+2
-0
re6st/cli/registry.py
re6st/cli/registry.py
+5
-2
No files found.
docs/re6stnet.rst
View file @
9f01d5d1
...
@@ -116,6 +116,8 @@ certificates, as follows: translate the significant part to hexadecimal
...
@@ -116,6 +116,8 @@ certificates, as follows: translate the significant part to hexadecimal
openssl req -nodes -new -x509 -key ca.key -set_serial 0x120010db80042 \
openssl req -nodes -new -x509 -key ca.key -set_serial 0x120010db80042 \
-days 365 -out ca.crt
-days 365 -out ca.crt
(see ``re6st-registry --help`` for examples to create key/dh files)
The CA email will be used as sender for mails containing tokens.
The CA email will be used as sender for mails containing tokens.
The registry can now be started::
The registry can now be started::
...
...
re6st/cli/registry.py
View file @
9f01d5d1
...
@@ -72,10 +72,13 @@ def main():
...
@@ -72,10 +72,13 @@ def main():
help
=
"Path to SQLite database file. It is automatically initialized"
help
=
"Path to SQLite database file. It is automatically initialized"
" if the file does not exist."
)
" if the file does not exist."
)
_
(
'--dh'
,
_
(
'--dh'
,
help
=
'File containing Diffie-Hellman parameters in .pem format'
)
help
=
"File containing Diffie-Hellman parameters in .pem format."
" To generate them, you can use something like:
\
n
"
"openssl dhparam -out dh2048.pem 2048"
)
_
(
'--ca'
,
required
=
True
,
help
=
parser
.
_ca_help
)
_
(
'--ca'
,
required
=
True
,
help
=
parser
.
_ca_help
)
_
(
'--key'
,
required
=
True
,
_
(
'--key'
,
required
=
True
,
help
=
"CA private key in .pem format."
)
help
=
"CA private key in .pem format. For example:
\
n
openssl"
" genpkey -out ca.key -algorithm rsa -pkeyopt rsa_keygen_bits:2048"
)
_
(
'--mailhost'
,
required
=
True
,
_
(
'--mailhost'
,
required
=
True
,
help
=
"SMTP host to send confirmation emails. For debugging"
help
=
"SMTP host to send confirmation emails. For debugging"
" purpose, it can also be an absolute or existing path to"
" purpose, it can also be an absolute or existing path to"
...
...
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