aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2021-02-22 01:04:58 +0100
committerGuilhem Moulin <guilhem@fripost.org>2021-02-22 01:05:06 +0100
commited85b6a6740028ce9ce821975a534f696eabd8ed (patch)
tree9770985049635b4a5a9118cf52ad3964c4d9c719 /client
parentfef888045bfd03c26822782411ff835c03440d58 (diff)
client: Print Terms of Service URL for 'account' command.
Diffstat (limited to 'client')
-rwxr-xr-xclient3
1 files changed, 3 insertions, 0 deletions
diff --git a/client b/client
index d7874b7..0bcf8cd 100755
--- a/client
+++ b/client
@@ -289,6 +289,9 @@ if ($COMMAND eq 'account') {
my $r = acme_resource('newAccount', %h);
# TODO: list account orders: https://github.com/letsencrypt/boulder/issues/3335
+ print STDERR "Terms of Service: $RES{meta}->{termsOfService}\n"
+ if defined $RES{meta} and defined $RES{meta}->{termsOfService};
+
if ($r->is_success()) {
$KID = $r->header('Location');
print STDERR "Key ID: $KID\n";