Generate Stir/Shaken Certifiate

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

Generate a Stir/Shaken Certificate

POST /api/service_provider/generate_sti_spc_cert

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

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

Last updated