Issue a manual certificate on Windows PKI and use it on an Audiocodes Gateway
certreq.exe -attrib "CertificateTemplate:webserver" -submit ssl.req
[ | |
{ | |
"id": 1, | |
"name": "Australia Central", | |
"shortName": "auc" | |
}, | |
{ | |
"id": 2, | |
"name": "Australia Central 2", | |
"shortName": "auc2" |
[CmdletBinding()] | |
param ( | |
[Parameter(mandatory=$true)] | |
[string]$cn, | |
[Parameter(mandatory=$false)] | |
[string]$san, | |
[Parameter(mandatory=$false)] | |
[string]$ip, | |
[Parameter(mandatory=$false)] | |
[string]$pfx = ".\cert.pfx", |
@owner = shanehoey | |
@repository = shanehoey | |
@token = {{ $processEnv GITHUBtoken }} | |
### Check rate limit | |
get https://api.github.com/rate_limit | |
Accept: application/vnd.github+json | |
Authorization: token {{token}} | |
### get user |
# Display | |
Get-CsOnlinePSTNGateway | Select-Object * | Format-list | |
Get-CsOnlinePstnUsage | Select-Object * | Format-list | |
Get-CsOnlineVoiceRoute | Select-Object * | Format-list | |
Get-CsOnlineVoiceRoutingPolicy| Select-Object * | Format-list | |
Get-CsVoiceRoutingPolicy | Select-Object * | Format-list | |
Get-CsTenantDialPlan | Select-Object * | Format-list | |