Fix incorrect rladmin command in create-certificates.md (fixes #3737) - #3807
Fix incorrect rladmin command in create-certificates.md (fixes #3737)#3807harshh6305 wants to merge 3 commits into
Conversation
kaitlynmichael
left a comment
There was a problem hiding this comment.
A few changes and then we can merge. Thanks!
| openssl x509 -in /path/to/redis-cert-chain.pem -noout -dates | ||
| ``` | ||
|
|
||
| 1. View certificate details: |
There was a problem hiding this comment.
Could you also delete this step and its code block (lines 606–610)? rladmin info cluster prints cluster policies and tunables — repl_diskless, slave_ha, login_lockout_threshold — and no certificate data at all, so it can't show certificate details. It came in with the same commit as rladmin status certificates, so it's the same bug. The openssl command above already covers what this step was reaching for via -subject -issuer -dates.
Co-authored-by: Kaitlyn Michael <76962844+kaitlynmichael@users.noreply.github.com>
|
@kaitlynmichael Thanks for the review! I've made all the requested changes |
Fixes #3737
Problem
The "Install certificates" section instructed users to check certificate status using:
This command doesn't work —
rladminhas nocertificatessubcommand, resulting in:Fix
Replaced the incorrect command with an
openssl x509command to verify the installed certificate's expiration dates, as suggested in the issue.Note
Low Risk
Documentation-only change to install/verify steps; no product code or security behavior is modified.
Overview
Fixes incorrect Install certificates guidance that told readers to run
rladmin status certificates, which fails becauserladminhas nocertificatessubcommand.The post-install step is retitled to Verify the installed certificate and now uses
openssl x509against/etc/opt/redislabs/<cert-name>_cert.pemto show subject, issuer, and validity dates. The follow-onrladmin info clusterstep for certificate details is removed so verification is a single, working command.Reviewed by Cursor Bugbot for commit 401c8bb. Bugbot is set up for automated code reviews on this repo. Configure here.