[Spce-user] STIR/SHAKEN config.yml sample config?
William Fulton
wfulton at thirdhatch.com
Mon Jun 20 13:18:54 EDT 2022
For reference, this is the solution that worked:
domains:
- name: xxx.xxx.com
private_key: /var/ngcp-config/ssl/cert.pem
The formatting is very particular. In order to do this you have to manually indent the private_key: to match the same level at name:. And the "-" character is the same level as the domain character.
Thanks all!
-----Original Message-----
From: William Fulton <wfulton at thirdhatch.com>
Sent: Monday, June 20, 2022 10:11 AM
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] STIR/SHAKEN config.yml sample config?
Ok, I think I solved this. Thanks again to Victor for the YAML verification tool reference!
-----Original Message-----
From: William Fulton <wfulton at thirdhatch.com>
Sent: Monday, June 20, 2022 9:59 AM
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] STIR/SHAKEN config.yml sample config?
I've used the validation tool Victor provided and it validates like this:
domains:
-
name: xxx.xxx.com
private_key: /var/ngcp-config/ssl/stagingPrivShakenKey-prv10.pem
However, when I try to apply the config I still get the error "found character that cannot start any token".
I'm really up against a wall and a deadline here. I need to get this working quickly and am happy to pay for support.
-----Original Message-----
From: Victor Seva via Spce-user <spce-user at lists.sipwise.com>
Sent: Monday, June 20, 2022 12:35 AM
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] STIR/SHAKEN config.yml sample config?
Hi,
On 6/17/22 21:51, William Fulton wrote:
> Here is what I currently have and it keeps complaining that it has
> detected a character than cannot start any token. This would be the
> locations right before “- name”
>
> stir:
> cache_dir: /var/cache/kamailio/stir/
> cache_expire: 3600
> domains:
> - name: xxx.xxx.com
> private_key:
> /var/ngcp-config/ssl/stagingPrivShakenKey-prv10.pem
> enable: yes
> expire: 300
> libopt: []
Try to validate your YAML file with some tool, for instance[0].
In this last paste, I detect that private_key is not well indented. name and private_key must be in the same level
domains:
- name: whatever
private_key: whatever
[0] http://www.yamllint.com/
--
Spce-user mailing list
Spce-user at lists.sipwise.com
http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
--
Spce-user mailing list
Spce-user at lists.sipwise.com
http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
More information about the Spce-user
mailing list