Skip to main content

Trustico client

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-trustico-0.2.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file python-trustico-0.2.tar.gz.

File metadata

  • Download URL: python-trustico-0.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-trustico-0.2.tar.gz
Algorithm Hash digest
SHA256 92d6a67f42fb006f2d3380c00b9cb3fa7e9a0502a6a33bf26285d0c89a4f0ec9
MD5 d1435290e738551256071e24d2c3dabd
BLAKE2b-256 6291ffca938764785693256f7d119fa88732e39168dd0160634e7161024370c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page