Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
devops-tools
ssl-certificate-utils
Commits
90cd8822
Commit
90cd8822
authored
Jul 29, 2016
by
Xueshan Feng
Browse files
Added AWS account validation.
parent
b260f0f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
upload_cert_to_aws.sh
View file @
90cd8822
...
...
@@ -14,9 +14,16 @@ then
fi
if
[
"X
$awsprofile
"
=
"X"
]
;
then
echo
"AWS profile for authentication is requ
o
red."
echo
"AWS profile for authentication is requ
i
red."
exit
1
fi
aws
--profile
$awsprofile
support
help
2>/dev/null 1>&2
if
[
$?
=
"255"
]
;
then
echo
"Account
$awsprofile
doesn't exit."
exit
1
fi
server
=
"
${
server
%%.*
}
"
domaincert
=
"stanford_edu_cert.cer"
intermcert
=
"stanford_edu_interm.cer"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment