cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
260
Views
0
Helpful
5
Replies

CER v15 vs v14 authenticate API

rmaslanka2
Level 1
Level 1

When working with DevNet Sandbox CER v14, authentication works as described in the API documentation.

A request to /authenticate/status/ returns a 401, a CER 401 page, along with a JSESSIONID cookie.
A second request to /authenticate/status/ while passing that cookie, returns a 200 and <authentication><status>Authentication successful on publisher </status>...

When testing the same on my v15 environment:
A request to /authenticate/status/ returns a 200, <authentication><status>Authentication failed on publisher </status>..., along with a JSESSIONID cookie.
A second request to /authenticate/status/ while passing that cookie, returns a 200 again and <authentication><status>Authentication failed on publisher </status>... again.

Can anyone confirm how they are authenticating to CER v15 APIs and / or if there has been a change from v14 to v15?

5 Replies 5

@rmaslanka2 this does look like a change in auth method for the API, the docs for v15 https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cer/15/english/administration/guide/cer0_b_cisco-emergency-responder-administration-guide-15/cer0_m_cisco-emergency-responder-api-documentation.html point to devnet, but that as you noted does not appear to have been updated for v15, nor an API change log. In the past other platforms such as sd-wan have had the change of auth on the main product page too. 

I do not know the product well enough, but if you can login via the UI and capture the details in developer tools, this might give you a clue as what is going on with v15 which has change. That or its a call to TAC for the ENG team to advise.

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Mark Dugas
Level 1
Level 1

I have pretty much the same issue except I'm getting a 404.  When I send the auth request to a 12.5 server it works perfectly; however sending to the version 15 server results in 404.

thedd
Level 1
Level 1

I have a AXl Test Application i use since years and this one is working fine with CUCM >10 and just tested with CUCM 15 in dCloud

Are you just trying to figure out your authentication status and this returns 404 or do you get a 404 when perfomring AXL requests, too?

My existing script gets 404 on version 15 and gets a 200 on version 12.5.
I referenced what I assume is CER Version 15 API documentation at: https://developer.cisco.com/site/cer/documents/api-reference/cisco-emergency-responder-cer-api-documentation/#authentication
I added a workaround in my script to do an initial auth call to get a cookie: JSESSIONID. If that call returns a 200, then I assume Version 15, then set that in the header and then use Basic Auth to do my desired API call. If the initial auth call does not return a 200, I use the old authentication method.
This is a pain because now I have to retrofit my old CER scripts.

rmaslanka2
Level 1
Level 1

@thedd I don't have any issue with authenticating to CUCM v15 and haven't run into any CUCM AXL changes that I needed to adjust for after moving from 12.5 to 15.

I am having issues with CER / Emergency Responder though.  The documented method for authenticating to CER is different than CUCM.  Have you had success with CER v15?