summaryrefslogtreecommitdiff
path: root/lib/leap_cli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli')
-rw-r--r--lib/leap_cli/commands/ca.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/ca.rb b/lib/leap_cli/commands/ca.rb
index 3a0786e2..1b311eee 100644
--- a/lib/leap_cli/commands/ca.rb
+++ b/lib/leap_cli/commands/ca.rb
@@ -278,7 +278,7 @@ module LeapCli; module Commands
log :error, "the commercial certificate '#{path}' has EXPIRED! " +
"You should renew it with `leap cert csr --domain #{domain}`."
elsif cert.not_after < Time.now.advance(:months => 2)
- log :warning, "the commercial certificate '#{path}' will expire soon. "+
+ log :warning, "the commercial certificate '#{path}' will expire soon (#{cert.not_after}). "+
"You should renew it with `leap cert csr --domain #{domain}`."
end
end