Skip to content

Commit fec8a00

Browse files
committed
cert isn't pub key, it contains it
1 parent 09bb213 commit fec8a00

File tree

1 file changed

+2
-2
lines changed
  • crates/standalone/src/subcommands

1 file changed

+2
-2
lines changed

crates/standalone/src/subcommands/start.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ pub fn cli() -> clap::Command {
7575
.arg(
7676
spacetimedb_lib::cert()
7777
.requires("ssl")
78-
.help("--cert server.crt: The server sends this to clients during the TLS handshake. ie. server's public key, which if it's self-signed then this is the file that you pass to clients via --cert when talking to the server from a client(or the cli), or if signed by a local CA then pass that CA's pub cert to your clients instead, in order to can trust this server from a client connection. Otherwise, you don't have to pass anything to clients if this cert was signed by a public CA like Let's Encrypt.")
78+
.help("--cert server.crt: The server sends this to clients during the TLS handshake. ie. server's certificate which contains its public key, which if it's self-signed then this is the file that you must pass to clients via --cert when talking to the server from a client(or the cli), or if signed by a local CA then pass that CA's cert to your clients instead, in order to can trust this server from a client connection. Otherwise, you don't have to pass anything to clients if this cert was signed by a public CA like Let's Encrypt.")
7979
)
8080
.arg(Arg::new("key").long("key").requires("ssl").value_name("FILE")
8181
.action(clap::ArgAction::Set)
8282
.value_parser(clap::value_parser!(PathBuf))
83-
.help("--key server.key: The server keeps this private to decrypt and sign responses. ie. the server's private key"))
83+
.help("--key server.key: The server's private key used to decrypt and sign responses."))
8484
// .after_help("Run `spacetime help start` for more detailed information.")
8585
}
8686

0 commit comments

Comments
 (0)