Skip to content

Docs: add san subject-alt-name to the easyrsa script - #877

Closed
Schueni1 wants to merge 1 commit into
zrepl:masterfrom
Schueni1:master
Closed

Schueni1 wants to merge 1 commit into
zrepl:masterfrom
Schueni1:master

Conversation

@Schueni1

Copy link
Copy Markdown

The current easyrsa script is not compatible with zrepl 0.3.0 and newer because of the missing san entry.

@Schueni1 Schueni1 changed the title add san subject-alt-name to the certificate to insure compatibility w… Docs: add san subject-alt-name to the easyrsa script Mar 19, 2025
@mateuszkwiatkowski

Copy link
Copy Markdown

@problame could you merge this? Without this update the documentation is effectively out-of-date.

@problame

Copy link
Copy Markdown
Member

Hm, are you using a different easyrsa version than the (admittedly) old one in the script?
I get the same CN and SAN with old and new script on my machine.

problame added a commit that referenced this pull request Jan 18, 2026
**Problem 1**: Users following the EasyRSA script in the docs with their
more recent distro version of EasyRSA find that the generated certs no
longer include a subject-alternative-name (SAN), which is required as of
Go 1.15 / zrepl 0.3.0.

**Problem 2**: Newer openssl versions with the old EasyRSA prompt the
user for a CA password in `init-pki` and depending on EasyRSA version
there are other interactive prompts at later commands in the script.

**Changes**:
- upgrade the pinned EasyRSA version to the latest release
- use `--auto-san` option to make EasyRSA set the SAN. This has the
benefit of also working for IP addresses.

I checked the easy-rsa git history and `--subject-alt-name` appears to
have been present in all 3.X releases, so, adding the flag shouldn't
break users of older EasyRSA 3.X.
(And these are exemplary instructions anyway.)

refs
- fixes #900
- obsoletes #906
- obsoletes #877

Co-authored-by: Andrew Lorimer <[email protected]>
@problame

Copy link
Copy Markdown
Member

#907

@problame problame closed this Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants