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

Tzafrir Cohen (JIRA) noreply at issues.asterisk.org
Thu Jun 20 12:10:03 CDT 2013


Tzafrir Cohen created ASTERISK-21932:
----------------------------------------

             Summary: ast_tls_cert: don't re-create generated files
                 Key: ASTERISK-21932
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21932
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Contrib/General
    Affects Versions: 11.4.0
            Reporter: Tzafrir Cohen
            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