Astrobotany Registration Guide

Overview

Astrobotany uses TLS client certificates for user authentication.

Creating an account is only a few simple steps, and does not require providing an email address or any other personal information. The entire process can be done from the command line and should take under 5 minutes to complete.

An overview of the sign-up flow looks like this:

These instructions assume that you have access to a unix-like shell and the openssl program. Instructions for Windows are forthcoming.

Step 1: Generate a CSR

# Generate a new private key
openssl genrsa -out astrobotany.key 4096

# Generate a certificate request
openssl req -new -key astrobotany.key -out astrobotany.req

OpenSSL will prompt you to enter information about your certificate. You can leave everything blank *except* for this:

Common Name (eg, fully qualified host name) []:

The Common Name will be your username inside of astrobotany. Pick something short and identifiable.

Step 2: Submit your CSR

Next, send an HTTP POST request containing your CSR to the following URL:

curl https://astrobotany.mozz.us/register -X POST -F req=@astrobotany.req > astrobotany.crt

At this point, the files that you need to keep are:

Step 3: Login

Now that you have a certificate, all you need to do is include it with your gemini requests.

Client certificates are not widely supported by gemini clients (yet). Here's an example of how to do it in AV-98:

av98 --tls-cert astrobotany.crt --tls-key astrobotany.key gemini://astrobotany.mozz.us/

Now go spread some seeds!