From 204ea0c147e0290f469391ca2e9436d463a73951 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Tue, 3 Dec 2024 19:55:19 +0000 Subject: [PATCH] expire: Improve conflicting file error message, add instructions Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 0ff4aeca..d64dcbd1 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -3445,8 +3445,10 @@ Run easyrsa without commands for usage and command help." # Do not over write existing cert if [ -f "$crt_out" ]; then user_error "\ -Existing file must be revoked: -* $crt_out" +Cannot expire this certificate, a conflicting file exists: +* certificate: $crt_out + +Use command 'revoke-exired' to revoke this certificate." fi # deprecate ALL options