A Gemini server
Go to file
Julien Blanchard d9aef89da7 WIP: serve binary files 2019-10-03 18:47:06 +02:00
src WIP: serve binary files 2019-10-03 18:47:06 +02:00
.gitignore Serve an index.gemini file 2019-07-26 18:04:45 +02:00
Cargo.lock Add Guestbook 2019-08-27 11:05:17 +02:00
Cargo.toml Add Guestbook 2019-08-27 11:05:17 +02:00
README.md Add README 2019-07-27 17:59:26 +02:00

README.md

pollux

pollux is a Gemini Project server written in Rust.

Installation

  • clone the repository

  • install openssl development headers

  • run cargo build --release

  • run target/release/pollux your_key.pfx your_key_password

Pollux will for now only serve an index.gemini file that has to be where you cloned pollux.

Generating a key

Here are the steps I took, maybe there is a simpler way:

λ openssl genrsa -out key.pem 1024
λ openssl req -new -key key.pem -out request.pem
λ openssl x509 -req -days 3650 -in request.pem -signkey key.pem -out certificate.pem
λ openssl pkcs12 -export -inkey key.pem  -in certificate.pem -name pollux -out pollux.pfx