🐑 Commons Host

Documentation

@commonshost/core

Certificates

Table of Contents

GET /sites{/domain}/certificate

Not yet implemented.

Retrieve certificate information.

{
  modified: '2020-02-20T02:20:02.202',
  domain: 'example.net',
  san: [
    'example.net',
    '*.example.net',
    'a.example.com',
    'b.example.com'
  ]
}

PUT /sites{/domain}/certificate

Not yet implemented.

Issue a certificate with the given Subject Alternative Name (SAN or subjectAltName) extension field.

{
  san: [
    'example.net',
    '*.example.net',
    'a.example.com',
    'b.example.com'
  ]
}