mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-06-01 15:00:02 +02:00
fix #2204
This commit is contained in:
parent
b13caa23d9
commit
8ecbf0f16d
4 changed files with 24 additions and 25 deletions
|
@ -14,11 +14,10 @@ import (
|
|||
)
|
||||
|
||||
var CmdCert = cli.Command{
|
||||
Name: "cert",
|
||||
Usage: "Generate self-signed certificate",
|
||||
Description: `Generate a self-signed X.509 certificate for a TLS server.
|
||||
Outputs to 'cert.pem' and 'key.pem' and will overwrite existing files.`,
|
||||
Action: runCert,
|
||||
Name: "cert",
|
||||
Usage: "Generate self-signed certificate",
|
||||
Description: `Please use build tags "cert" to rebuild Gogs in order to have this ability`,
|
||||
Action: runCert,
|
||||
}
|
||||
|
||||
func runCert(ctx *cli.Context) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue