Coder Social home page Coder Social logo

vault-pki-crl-issue's Introduction

Vault PKI CRL Issue

This project provides an automated way to reproduce an issue regarding the vault PKI CRL.

Start

Use docker compose to start vault and nginx. The init container take care of initializing the pki, and providing the certificates to nginx.

docker compose up -d
./script/client-cert.sh
curl -k https://localhost:8443 --cert client/client.crt --key client/client.key

CRL Error

After making the request, the following error can be observed in the nginx logs.

docker logs vault-pki-test-nginx-1 2>&1 | grep 'client SSL certificate verify error'
2022/07/15 20:01:48 [info] 31#31: *1 client SSL certificate verify error:
(3:unable to get certificate CRL) while reading client request headers, client: 192.168.96.1, server:
localhost, request: "GET / HTTP/1.1", host: "localhost:8443"

The client certificate verification works as expected if no CRL is used. This can be tested by commeting out the respective directive in the nginx.conf.

ssl_crl /etc/nginx/certificates/intermediate.crl.pem;

PKI

The pki is created with the pki script. The script follows the steps described in the tutorial: https://learn.hashicorp.com/tutorials/vault/pki-engine.

vault-pki-crl-issue's People

Contributors

bluebrown avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.