mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 09:57:52 +01:00
fix #2204
This commit is contained in:
parent
b13caa23d9
commit
8ecbf0f16d
@ -16,8 +16,7 @@ import (
|
|||||||
var CmdCert = cli.Command{
|
var CmdCert = cli.Command{
|
||||||
Name: "cert",
|
Name: "cert",
|
||||||
Usage: "Generate self-signed certificate",
|
Usage: "Generate self-signed certificate",
|
||||||
Description: `Generate a self-signed X.509 certificate for a TLS server.
|
Description: `Please use build tags "cert" to rebuild Gogs in order to have this ability`,
|
||||||
Outputs to 'cert.pem' and 'key.pem' and will overwrite existing files.`,
|
|
||||||
Action: runCert,
|
Action: runCert,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,7 +61,6 @@ SSH_PORT = 22
|
|||||||
OFFLINE_MODE = false
|
OFFLINE_MODE = false
|
||||||
DISABLE_ROUTER_LOG = false
|
DISABLE_ROUTER_LOG = false
|
||||||
; Generate steps:
|
; Generate steps:
|
||||||
; $ cd path/to/gogs/custom/https
|
|
||||||
; $ ./gogs cert -ca=true -duration=8760h0m0s -host=myhost.example.com
|
; $ ./gogs cert -ca=true -duration=8760h0m0s -host=myhost.example.com
|
||||||
;
|
;
|
||||||
; Or from a .pfx file exported from the Windows certificate store (do
|
; Or from a .pfx file exported from the Windows certificate store (do
|
||||||
|
@ -27,6 +27,7 @@ Natan Albuquerque <natanalbuquerque5 AT gmail DOT com>
|
|||||||
Odilon Junior <odilon DOT junior93 AT gmail DOT com>
|
Odilon Junior <odilon DOT junior93 AT gmail DOT com>
|
||||||
Thomas Fanninger <gogs DOT thomas AT fanninger DOT at>
|
Thomas Fanninger <gogs DOT thomas AT fanninger DOT at>
|
||||||
Tilmann Bach <tilmann AT outlook DOT com>
|
Tilmann Bach <tilmann AT outlook DOT com>
|
||||||
|
Toni Villena Jiménez <tonivj5 AT gmail DOT com>
|
||||||
Vladimir Vissoultchev <wqweto AT gmail DOT com>
|
Vladimir Vissoultchev <wqweto AT gmail DOT com>
|
||||||
YJSoft <yjsoft AT yjsoft DOT pe DOT kr>
|
YJSoft <yjsoft AT yjsoft DOT pe DOT kr>
|
||||||
Łukasz Jan Niemier <lukasz AT niemier DOT pl>
|
Łukasz Jan Niemier <lukasz AT niemier DOT pl>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user