This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This module is the an API and a command line for ordering SSL certificates from Trustico.

Note

The code is still a work in progress (i.e type2 products are not yet supported.)

Installation

You need to install the dependencies listed in the requirements.txt file.

Usage

Be sure to have unable the API in the web interface before to try to use it.

Test the connexion:

trustico -u trustico_user -p your_password -t

Get the status of an order:

trustico -u trustico_user -p your_password -s -o 1111-11-11111-1111111

Create a new certificate with a existing certificate request:

trustico -u trustico_user -p your_password -A admin_address.json -T tech_address.json -O order.json -C domain.csr

Where order.json looks like:

{
    "product" : "rapidssl",
    "period" : 12,
    "approver" : "admin@example.com",
    "insurance" : 0,
    "servercount" : 1,
    "techusereseller" : 1,
    "novalidation" : 0
}

admin_address.json looks like:

{
    "title" : "Ms",
    "firstname" : "Eliza",
    "lastname" : "Xample",
    "organisation" : "EXample",
    "role" : "WebSite Owner",
    "email" : "example@example.com",
    "phonecc" : "1",
    "phoneac" : "514",
    "phonen" : "9460234",
    "address1" : "1 High Street",
    "city" : "MyTown",
    "state" : "London",
    "postcode" : "SW1 4AA",
    "country" : "GB"
}

and for tech_address.json (same things but no role field):

{
    "title" : "Ms",
    "firstname" : "Eliza",
    "lastname" : "Xample",
    "organisation" : "EXample",
    "email" : "example@example.com",
    "phonecc" : "4",
    "phoneac" : "514",
    "phonen" : "9460234",
    "address1" : "1 High Street",
    "city" : "MyTown",
    "state" : "London",
    "postcode" : "SW1 4AA",
    "country" : "GB"
}

Type:

trustico --help

For complet usage details.

API

For the complet API see the official documentation at:

https://resellers.trustico.com/geodirect/admin/api-overview.php

The script is inspired by the perl version:

http://cpansearch.perl.org/src/CLIFFORDJ/Net-Trustico-0.01/lib/Net/Trustico.pm
Release History

Release History

0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-trustico-0.2.tar.gz (6.2 kB) Copy SHA256 Checksum SHA256 Source Jun 5, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting