AMSSL(8)
π AMSSL(8) β the amanda ssl cert glow-up guide β¨
okay so this is amssl, from the System Administration Commands girlies β a whole program whose entire personality is managing your amanda ssl certificates for ssl auth π. It creates self-signed CA, server certificates and client certificates. no cap, that's the whole job. π
β¨ SYNOPSIS β¨
amssl [--client] [--init | --create-ca |
--create-server-cert server-host |
--create-client-cert client-host [--server server-host] ]
[--country country-code] [--state state] [--locality locality]
[--organisation organisation]
[--organisation-unit organisation-unit] [--common common-name]
[--email email] [-o configoption...] [--config config]
π¦ DESCRIPTION π¦
So amssl is literally the program that manages amanda ssl certificates for the ssl auth. that's it, that's the vibe. it can create a self-signed CA, a server certificate and client certificates π. lowkey iconic.
πΈ OPTIONS πΈ
--create-caβ make a self-signed CA. main character energy fr.--create-server-certβ make a server certificate.--create-client-cert CLIENT-HOSTNAMEβ make a client certificate for that hostname.--server SERVER-HOSTNAMEβ the amanda server you're connecting to.--batchβ use the certificate fields you set in the initialization, and there is confirmation. β οΈ heads up bestie: this option is useless if one of the fields was not set in the initiatization. so set your fields first or it's giving nothing.--clientβ for when you're runningamsslon a client.--initβ initialize the host.
The following options are the ones a certificate needs, iykyk:
--countryβ the two letter country code.--stateβ the State.--localityβ the locality.--organisationβ the organisation.--organisation-unitβ the organisation unit.--commonβ the common name.--emailβ the email.
π§ INITIALISATION π§
Bestie. listen. this must be run once before any other command. no skipping, periodt.
It creates a template openssl.cnf file and a configuration file with the value you provided, and those get used in future commands so you do not need to enter them at every invocation π. blessing.
The value provided must be the one you want in the certificate. so like, don't lie to it.
amssl [--client] --init [--country country-code] [--state state]
[--locality locality] [--organisation organisation]
[--organisation-unit organisation-unit] [--common common-name]
[--email email] [-o configoption...] [--config config]
A client is initialized with the --client options. cute.
What it creates:
$SSL_DIR/openssl.cnf.template
$SSL_DIR/openssl.data
π₯ CREATE A SELF-SIGNED CA π₯
Create a self-signed CA. slay.
amssl --create-ca [--batch] [--config CONFIG]
You can also provide all options of the initialization step. flexible queen.
β οΈ You must enter a new CA passphrase, and you must keep it secret and remember it. it will be required every time you need to create a new cetificate. do not lose it, do not forget it, do not text it to anyone. π
After you enter the passphrase, it will be asked 3 other times. yes, three. it's thorough like that.
What it creates:
$SSL_DIR/CA/crt.pem
$SSL_DIR/CA/private/key.pem
π«Ά CREATE THE SERVER CERTIFICATE π«Ά
Create the amanda server certificate.
amssl --create-server-cert HOSTNAME [--batch] [--config CONFIG]
You can also provide all options of the initialization step.
The CA passphrase is asked. (you remembered it, right? π₯Ί)
What it creates:
$SSL_DIR/me/crt.pem
$SSL_DIR/me/fingerprint
$SSL_DIR/me/private/key.pem
$SSL_DIR/remote/HOSTNAME -> ../me
π CREATE A CLIENT CERTIFICATE π
Create a client certificate, sign it by the CA certicate on the server, and both server and client learn the remore fingerprint. teamwork makes the dream work π.
π¨ DO NOT RUN IT ON SERVER. This will detroy the server certificate. π¨ like actually do not, that's a canon event you cannot undo.
It require to run amssl on the server and client at the same time. yes, simultaneously, it's a two-phone situation.
ssl-dir must be set in amanda-client.conf on the client.
Both server and client must already be initialized. no shortcuts.
Run on the server:
amssl --create-client-cert client-host [--config CONFIG]
It wait for the client to connect and then sign the client certificate. The CA passphrase is asked.
Run on the client:
amssl --client --create-client-cert CLIENT-HOST --server SERVER-HOST
[--batch] [--config CONFIG]
Create on server:
$SSL_DIR/remote/CLIENT-HOST/fingerprint
Create on client:
$SSL_DIR/me/crt.pem
$SSL_DIR/me/fingerprint
$SSL_DIR/me/private/key.pem
$SSL_DIR/remote/SERVER-HOST/fingerprint
π EXAMPLE π
Initialize the server
amssl --init --country US --state California --locality Sunnyvale
--organisation zmanda --organistion-unit engineering --common boss
--email 'email@email.com'
Create the CA on the server
amssl --create-ca
Create the server certificate
amssl --create-server-cert server.zmanda.com
Create a client certificate
On server:
amssl --create-client-cert client.zmanda.com
On client:
amssl --client --init --country US --state California --locality
Sunnyvale --organisation zmanda --organistion-unit engineering
--common boss --email 'email@email.com'
amssl --client --create-client-cert client.zmanda.com --server
server.zmanda.com
β SEE ALSO β
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda(8), amanda-auth(7), amanda-auth-ssl(7)
The Amanda Wiki: : http://wiki.zmanda.com/ π¦
π AUTHORS π
James da Silva <jds@amanda.org>
Stefan G. Weichinger <sgw@amanda.org>
and that's the whole page bestie π this was Amanda 3.5.4, dated 07/23/2025 β go forth and certify, you absolute icon πΈπβ¨
π¦ where this page comes from
- fedora 43: amanda 3.5.4-17.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms