In this article , it is said to be a optional feature to make <AuthenticationMethod> as none however that breaks Wowza manager console it is also quite unsafe so I want it to be on basic or digest ( preferable ) auth mode .
As I make AuthenticationMethod any thong other than digest , not only does it break the sign in of Manager Console but also doesnot solve the error with the API calls as it gives following result
<?xml version="1.0" encoding="UTF-8" standalone="no"?><error><wowzaServer>4.0</wowzaServer><code>402</code><message>REST API is not licensed</message></error>
Could you please suggest what might the way to access these API without making the AuthenticationMethod none .
When I turn on digest auth and do a quick GET using --digest auth (via cURL) all the endpoints are returned as expected. Try the following:
curl --digest -u "[username]:[password]" -X GET "http://localhost:8089/api-docs"
Subsequently, you should be able to query the applications in a similar manner (use digest if you've set RestInterface/AuthenticationMethod to digest):
curl --digest -u "[username]:[password]" -X GET --header 'Accept:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications
Should return the various endpoints you would normally see without auth turned on. If this continues to *not* be the case, please send a zip file of your conf/ and logs/ to
firstname.lastname@example.org. Also be sure to include the cURL requests you used in doing so and the associated responses.