diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-11-05 16:07:56 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-11-05 16:07:56 +0000 |
commit | 0090bdbb0ae8cc343bcf0b0c2d859c0cb1954e60 (patch) | |
tree | 77dbd4fd7e4dd5e9812a982eb77c8b295fb4f41d | |
parent | 3d1a24a10564014cbeb56a2a0a34f2d4bfb414d4 (diff) |
Merged revisions 294049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r294049 | twilson | 2010-11-05 09:05:50 -0700 (Fri, 05 Nov 2010) | 2 lines
Corret spelling and example
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@294050 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | contrib/scripts/ast_tls_cert | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/scripts/ast_tls_cert b/contrib/scripts/ast_tls_cert index 3650bffa4..991352072 100755 --- a/contrib/scripts/ast_tls_cert +++ b/contrib/scripts/ast_tls_cert @@ -65,7 +65,7 @@ OPTIONS: -C Common name (cert field) This should be the fully qualified domain name or IP address for the client or server. Make sure your certs have unique common - namems. + names. -O Org name (cert field) An informational string (company name) -o Output filename base (defaults to asterisk) @@ -83,8 +83,8 @@ and tlscafile=/etc/ca.crt. Since this is a self-signed key, many devices will require you to import the ca.crt file as a trusted cert. To create a client cert using the CA cert created by the example above: - ast_tls_cert -m client -c /tmp/ca.crt -k /tmp/ca.key -C "Joe User" -O \\ - "My Company" -d /tmp -o joe_user + ast_tls_cert -m client -c /tmp/ca.crt -k /tmp/ca.key -C phone1.mycompany.com \\ + -O "My Company" -d /tmp -o joe_user This will create client.crt/key/pem in /tmp. Use this if your device supports a client certificate. Make sure that you have the ca.crt file set up as |