Replies: 2 comments
-
|
What you are looking for is likely the Alternatively you also have Refer to https://www.erlang.org/docs/28/apps/ssl/ssl.html for full documentation of |
Beta Was this translation helpful? Give feedback.
-
|
Thanks! I'm not really sure what's the real issue here =) I will see what to make out of certs_keys parameter, thanks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I'm working on implementation of NMOS node in Erlang using Cowboy/Ranch as a HTTP/HTTPS server for API.
Using nmos-testing utility (https://github.com/AMWA-TV/nmos-testing) from AMWA to verify my implementation.
Now, I've started working on Authorization and got into some issues.
Namely, this test utility is requesting some 'special' configuration of HTTPS server. This is a quote from their documentation: "
In order for requests made to the device under test to be trusted by the test suite, the following private keys and
certificates must be loaded into the device. This will provide the device with the hostname 'api.testsuite.nmos.tv',
and the hostname 'nmos-api.local' for mDNS.
...
Note that both an RSA and ECDSA certificate are provided in order to meet the requirements of BCP-003-01. Please consult
your TLS library or application for the configuration required in order to load two certificates at once.
... And there are two files for keys (for RSA and ECDSA), two files for certificates. And:
If your device under test can use certificate chain files, please use:
....
Alternatively, if your web server requires the server certificate and the chain to the CA to be separate, please use each of the server certificates:
...
with the chain file:
...
"
Now I'm not very experienced with certificates and keys, so I got couple questions:
Just in case if there are any successful cases of using Cowboy/Ranch with nmos-testing utility I'd love to see configuration used.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions