Uploaded image for project: 'Project FiFo'
  1. FIFO-1017

Need to pass {depth, Depth} option to OTP ssl application

    Details

    • Type: Improvement
    • Status: Resolved (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 0.7.2
    • Fix Version/s: 0.8.0
    • Component/s: kennel
    • Labels:
      None

      Description

      I have a CA configuration for my Docker certificates that involves intermediate certificates, which requires that I be able to supply the {{

      {depth, Depth}

      }} option to ssl:listen/2 (see ssloption() at http://erlang.org/doc/man/ssl.html). The version of ranch used by kennel does not support this option, though the latest upstream of ranch has been updated to include this option (and others):

      https://github.com/ninenines/ranch/blob/master/src/ranch_ssl.erl#L48

      I would also need a way to specify the desired depth in the kennel configuration file. A generic way to specify any SSL option seems nice, but I'm not sure if this fits with the configuration architecture.

      As an aside, I have verified that this option does enable my configuration to work by hacking the value into kennel's ranch_ssl.erl directly.

        Attachments

          Activity

            People

            • Assignee:
              heinz Heinz N. Gies
              Reporter:
              timclassic Tim Stewart
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: