2017 © Pedro Peláez
 

library incommon-cli

Command-line Utility for InCommon Certificate Manager SSL Web Service API

image

mdwheele/incommon-cli

Command-line Utility for InCommon Certificate Manager SSL Web Service API

  • Friday, December 5, 2014
  • by mdwheele
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

InCommon CM SSL Web Service Client Command-line Utility

Command-line Utility for InCommon Certificate Manager SSL Web Service API, (*1)

Latest Stable Version Total Downloads License, (*2)

Notice: This an alpha-quality software at the moment. Do NOT use in production anything!!, (*3)

This utility provides an access layer to limited functionality of the InCommon Certificate Manager SSL SOAP Web Service., (*4)

Goals

  • Provide a command-line interface for performing bulk CSR enrollments and Certificate retrieval.

This package is compliant with PSR-1, PSR-2 and PSR-4. If you notice compliance oversights, please send a patch via pull request., (*5)

Install

Via Composer, (*6)

``` json { "require": { "mdwheele/incommon-cli": "dev-master" } }, (*7)


## Requirements The following versions of PHP are supported by this version. * PHP 5.3 * PHP 5.4 * PHP 5.5 ## Usage This is a Symfony Console application. To get everything set up, you will need to clone down the project and run `composer install`. To run the thing, you'll need to run `bin/incommon`. This is the entry point for all the registered commands. ### Enroll Certs (Sending off the CSRs) Enrolling certs requires a directory full of CSRs. You will provide this as a CLI argument. ```bash [vagrant@kraken incommon-cli]$ bin/incommon help cert:enroll Usage: cert:enroll [csr_paths1] ... [csr_pathsN] Arguments: csr_paths Paths to CSR files.

After running, it's going to go through some interactive prompts; asking for your InCommon login credentials as well as the organization identifer and secret key., (*8)

After setting all that up, it'll just go to town., (*9)

Check status of enrolled certs

[vagrant@kraken incommon-cli]$ bin/incommon help cert:status
Usage:
 cert:status sslid

Arguments:
 sslid                 Path to CSR or glob.

`bin/incommon cert:status 123456, (*10)

Download certs

Documentation

I will have much more documentation coming soon. Until then, this is basically it., (*11)

Contributing

Contributions are welcome and will be fully credited., (*12)

We accept contributions via Pull Requests on Github., (*13)

Pull Requests

  • PSR-2 Coding Standard - The easiest way to apply the conventions is to install PHP Code Sniffer., (*14)

  • Add tests! - Your patch won't be accepted if it doesn't have tests., (*15)

  • Document any change in behaviour - Make sure the README and any other relevant documentation are kept up-to-date., (*16)

  • Consider our release cycle - We try to follow semver. Randomly breaking public APIs is not an option., (*17)

  • Create topic branches - Don't ask us to pull from your master branch., (*18)

  • One pull request per feature - If you want to do more than one thing, send multiple pull requests., (*19)

  • Send coherent history - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting., (*20)

Running Tests

bash $ phpunit, (*21)

Happy coding!, (*22)

Credits

License

The MIT License (MIT). Please see License File for more information., (*23)

The Versions

05/12 2014

dev-master

9999999-dev http://dustinwheeler.us

Command-line Utility for InCommon Certificate Manager SSL Web Service API

  Sources   Download

MIT

The Requires

 

php cli ssl incommon