cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
508
Views
0
Helpful
1
Replies
ritchieb
Beginner

Registering a CSRv to a satellite Smart Licensing server

Can anyone give me some guidance on registering a CSRv to a satellite Smart licensing server, I'm generating the token and attempting to register but I get a "token not vaild" response.

 

Config on CSRv, confirmation I can reach Sat server via IP and can open TCP connection on TCP/443 is below. The error I get is at the bottom, the token is copied direct of the satellite server.

 

!

service call-home
call-home
contact-email-addr admin@email.com
site-id "SITEA"
source-interface GigabitEthernet1
profile "CiscoTAC-1"
active
destination transport-method http
no destination transport-method email
profile "License"
destination transport-method http
destination address http https://satserver.domain.com/Transportgateway/services/DeviceRequestHandler
SSPR-ENCROU01#
SSPR-ENCROU01#ping satserver.domain.com
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 13/13/14 ms
SSPR-ENCROU01#telnet satserver.domain.com 443
Trying satserver.domain.com (10.1.1.1, 443)... Open

^]HTTP/1.1 400 Bad Request
Server: nginx/1.11.7
Date: Fri, 04 Oct 2019 20:30:53 GMT
Content-Type: text/html
Content-Length: 173
Connection: close

<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx/1.11.7</center>
</body>
</html>

[Connection to satserver.domain.com closed by foreign host]

 

The error message I get is;

 

Oct  4 20:36:19.502: %SMART_LIC-3-AGENT_REG_FAILED: Smart Agent for Licensing Registration with the Cisco Smart Software Manager or satellite failed: Error received from Smart Software Manager: {"token":["The token 'NGFjNTVlNjQtM2I4YS00M2ExLWIxZTEtYTFhYzMyNmY2NjVlLTE1NzI4MTEy%0ANzE4OTh8V29qVmFJdWM3ZzRMRzZRREJhWjlVUEVwZkt0VjkvUDFBdTFHYlpx%0AUmRjcz0%3D%0A' is not valid."]}

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ritchieb
Beginner

Had to remove the previous call-home profile, make mine the active and was having issues with SSL so changed to http, the following config ended up resolving the issue.

 

service call-home
call-home
contact-email-addr admin@email.com
site-id "SITEA"
source-interface GigabitEthernet1
profile "License"
reporting smart-licensing-data
destination transport-method http
destination address http http://satserver.domain.com/Transportgateway/services/DeviceRequestHandler

View solution in original post

1 REPLY 1
ritchieb
Beginner

Had to remove the previous call-home profile, make mine the active and was having issues with SSL so changed to http, the following config ended up resolving the issue.

 

service call-home
call-home
contact-email-addr admin@email.com
site-id "SITEA"
source-interface GigabitEthernet1
profile "License"
reporting smart-licensing-data
destination transport-method http
destination address http http://satserver.domain.com/Transportgateway/services/DeviceRequestHandler

View solution in original post