Skip to content

Enabling 2-way PKI authentication #2759

Open
@bitsandbytes

Description

@bitsandbytes

I need 2-way authentication to be configurable because my company requires all internal webapps to use it.

The proposal is three-fold. I want the following to be configurable:

  • Configure the webapp to request the client's certificate,
  • Once the webapp receives the certificate pass information about the cert to the expressjs server,
  • Make the webapps' certificate and key configurable.

Background on this:

Without the above I can't easily test my passport setup and can't easily test my custom authentication code until I build for production.

My open questions are:

  • Is there any way to customize the webapp's configuration? It appears to me we have to rely on create-react-app to do it for us.
  • My understanding from getPeerCertificate() is an empty object when using dev server #1413 is that WDS will also need modifications in order for the webapp to pass cert attributes to the backend. I'll need to raise an issue for that over at WDS. Is this correct?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions