Peeringhub.io Stir Shaken CA Service
  • Peeringhub STI-ACME Server
  • Guides
    • Stir/Shaken Compliance Guide
    • Q and A on STI Test Plan
      • STI-PA-TC-026
      • STI-PA-TC-021
      • STI-PA-TC-019
      • STI-PA-TC-024
      • STI-PA-TC-022
      • STI-PA-TC-025
    • Purchase Subscription
    • Generating Certificate
      • Web UI
        • Renew Stir/Shaken Certificate
      • ACME protocol reference
        • Protocol Overview
        • List server directory
        • Get nonce
        • Account creation & Authorization
        • Get ACME account status
        • Order a new certificate
        • List active orders
        • Key change
        • Account deactivation
      • Desktop Client
      • Windows Command Line Client
      • Linux Command Line Client
    • Staging Environment Support
      • Configuring ACME Client
    • Getting Support
    • Troubleshoot
    • Verify a Stir/Shaken Certificate
    • Peeringhub STI-API
      • Generate Auth Token
      • Generate Private Key
      • Extract Your Private Key
      • Generate Stir/Shaken Certifiate
    • FAQ
Powered by GitBook
On this page
  1. Guides
  2. Peeringhub STI-API

Generate Stir/Shaken Certifiate

PreviousExtract Your Private KeyNextFAQ

Last updated 6 days ago

You can generate unlimited certificates. Each one remains valid until your PeeringHub.io subscription expires.

Generate a Stir/Shaken Certificate

POST

You can generate as many certifiate as you want. The certificate will last till the end of your Peeringhub.io's subscription period.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

private_key_uuid

string

Private Key UUID

sti_pa_username

string

Your iConnectiv Username

sti_pa_password

string

Your iConnectiv Password

Example

curl -X 'POST'  
  'https://api.peeringhub.io/api/service_provider/generate_sti_spc_cert'  
  -H 'accept: */*'  
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXJ2aWNlX3Byb3ZpZGVyX3V1aWQiOiIzZTIwMTk4Z'  
  -H 'Content-Type: application/json'  
  -d '{
  "private_key_uuid": "c02xxx302-adc4-4dff-8016-xxxxx8f79",
  "sti_pa_username": "your_sti_user",
  "sti_pa_password": "your_sti_pass"
}'

Response

{
  "success": true,
  "payload": {
    "res": {
      "service_provider_uuid": "3xxxx8d-ed19-4089-95e7-ea7axxxxxc81",
      "sti_priv_key_uuid": "c02xxx302-adc4-4dff-8016-xxxxx8f79",
      "cr_path": "https://certificates.peeringhub.io/818H/H6xUJgxY/ABC.crt",
      "success": true,
      "serial_number": "H6xUJgxY",
      "sti_cert_expire_date": "Thu, 14 May 2026 21:34:16 GMT",
      "sti_cert_start_date": "2025-05-14T21:34:16.000Z",
      "error_cause": null,
      "uuid": "5cdf84d9-eb87-4e8d-aa89-249651ce1b0d",
      "created_on": "2025-05-14T21:34:21.087Z"
    }
  }
}

The cr_path field contains the URL from which you can download your STIR/SHAKEN certificate.

/api/service_provider/generate_sti_spc_cert