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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Jul 1 20:05:04 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207598#comment-207598 ] 

Matt Jordan commented on ASTERISK-21932:
----------------------------------------

Looks good to me - if you want to go ahead and commit it, that'd be great
                
> [patch] 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
>            Assignee: Rusty Newton
>            Severity: Minor
>         Attachments: diff
>
>
> 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