8000 Verify SSL certificate with a Bukdu server · Issue #106 · wookay/Bukdu.jl · GitHub
[go: up one dir, main page]

Skip to content

Verify SSL certificate with a Bukdu server #106

Open

Description

@NiharikaPatel

Hi,
I have an SSL certificate from Amazon API gateway and I need to verify it with the Bukdu server. The Documentation shows how to do it with a Node.js server. What would be the syntax / similar code to replicate on Bukdu ?
Thanks!

Activity

  1. wookay commented on Aug 31, 2020

    @wookay
    Owner

    see keyword argument sslconfig.
    https://juliaweb.github.io/HTTP.jl/dev/public_interface/#Server-/-Handlers-1

    using MbedTLS
    Bukdu.start(port; sslconfig=MbedTLS.SSLConfig("resources/cert.pem", "resources/key.pem"))
    
  2. NiharikaPatel commented on Aug 31, 2020

    @NiharikaPatel
    Author

    Okay thank you, I have the server key, server certificate and the api client certificate.
    key: fs.readFileSync('server-key.pem'),
    cert: fs.readFileSync('server-cert.pem'),
    ca: fs.readFileSync('apig-cert.pem')

    where should the apig-cert.pem which is the client certificate go ?

  3. wookay commented on Aug 31, 2020

    @wookay
    Owner

    ah. that sslconfig used for only general SSL server.
    I'm not an expert at Amazon API Gateway.
    and I don't have enough time to investigate such node package ( https://www.npmjs.com/package/client-certificate-auth ) now.

    there's #aws channel in the Julia slack. that people may help the similar interests.
    https://julialang.slack.com/archives/C91DJB2K1

    best regards and stay healthy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0