Crates.io | twinstar |
lib.rs | twinstar |
version | 0.4.0 |
source | src |
created_at | 2022-05-02 17:26:12.537089 |
updated_at | 2022-05-02 17:26:12.537089 |
description | Gemini server implementation (previously called "northstar") |
homepage | |
repository | https://github.com/panicbit/twinstar |
max_upload_size | |
id | 579224 |
size | 103,395 |
__ _ __
/ /__ __(_)___ _____/ /_____ ______
/ __/ | /| / / / __ \/ ___/ __/ __ `/ ___/
/ /_ | |/ |/ / / / / (__ ) /_/ /_/ / /
\__/ |__/|__/_/_/ /_/____/\__/\__,_/_/
Add the latest version of twinstar to your Cargo.toml
.
twinstar = "0.4.0" # check crates.io for the latest version
cargo add twinstar
Run
mkdir cert && cd cert
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
and enter your domain name (e.g. "localhost" for testing) as Common Name (CN).
Alternatively, if you want to include multiple domains add something like -addext "subjectAltName = DNS:localhost, DNS:example.org"
.