[asterisk-bugs] [JIRA] (ASTERISK-21962) [patch] ast_tls_cert: don't re-create generated files

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Jun 26 10:18:05 CDT 2013


Rusty Newton created ASTERISK-21962:
---------------------------------------

             Summary: [patch] ast_tls_cert: don't re-create generated files
                 Key: ASTERISK-21962
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21962
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Contrib/General
    Affects Versions: 11.4.0
            Reporter: Tzafrir Cohen
            Assignee: Rusty Newton
            Severity: Minor


ast_tls_cert is a script that creates a simple CA (certification authority), which is handy when experimenting with TLS.

If you run:

ast_tls_cert # generate default certificate
ast_tls_cert -C some-host -o some-host

the first run will generate cat.cfg, ca.crt and ca.key , but the second run will run over them, which is counter-intuitive.

This patch makes the script use the existing CA files if they already exist.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list