Giter Site home page Giter Site logo

testing-ca's Introduction

Acme Testing CA

Provide a Certificate Authority server for testing purpose.

Requirements

  • docker

Usage

Hosted on Docker Hub: https://hub.docker.com/r/acmephp/testing-ca/

Start the boulder container in background.

docker run -d --net host acmephp/testing-ca

By design, to test the domain, boulder will resolve the domain to 127.0.0.1, and call the given URL http://mydomain.com:5002/.well-known/acme-challenge/${TOKEN}. That's why, You MUST use the flag --net host to run the boulder container in the same network than your application.

Configure your application to call the testing CA with the following endpoints

endpoint: http://127.0.0.1:4000
agreement: http://boulder:4000/terms/v1

Customization

Because boulder uses a MySQL and RabbitMQ server and because boulder has to run with option --net host you may run into a port conflict. You can customize those ports with the following environment variables:

BOULDER_MYSQL_PORT=43306    # MySQL server
BOULDER_AMQP_PORT=45672     # RabbitMq server
BOULDER_PORT=4000           # Boulder front
BOULDER_CALLBACK_PORT=5002  # Application's challenge

testing-ca's People

Contributors

jderusse avatar tgalopin avatar luceos avatar m59peacemaker avatar

Watchers

James Cloos avatar Stefan 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.