Debug
This commit is contained in:
parent
065cf8f989
commit
78bea46dd4
|
@ -24,7 +24,7 @@ apt install certbot // Only if you don't have certbot installed already
|
|||
certbot certonly
|
||||
```
|
||||
|
||||
Follow the instructions on-screen and then move the generated certificate and private key to the session-open-group folder (you'll need to rename them to tls_private_key.pem and tls_certificate respectively as well).
|
||||
Follow the instructions on-screen and then **copy** (don't move) the generated certificate and private key to the session-open-group folder (you'll need to rename them to tls_private_key.pem and tls_certificate respectively as well).
|
||||
|
||||
### Step 3: Build the project
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ async fn main() {
|
|||
storage::create_tables_if_needed(&conn);
|
||||
warp::serve(routes::lsrpc(pool))
|
||||
.tls()
|
||||
.cert_path("../tls_certificate.pem")
|
||||
.key_path("../tls_private_key.pem")
|
||||
.cert_path("tls_certificate.pem")
|
||||
.key_path("tls_private_key.pem")
|
||||
.run(([0, 0, 0, 0], 443))
|
||||
.await;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue