Issue using ZTP and a PA-440

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Issue using ZTP and a PA-440

L0 Member

Hi all,

 

We are trying to deploy a PA-440 by ZTP. Everything works fine until the connection to Panorama.
PA-440 receives the Panorama IP adresses from the CSP. It autocommits the configuration.
After that, the PA-440 is able to connect to Panorama (port TCP 3978) : Handshake TCP is OK, but the connection is closed immediately. Probably because of a problem during the SSL part (certificate issue...).

 

We tried in 10.1.3 (the sw version out the box) and in 10.1.6-h6. Panorama is in 10.1.6-h6.

In the logs (ms.log on PA-440), we can find these messages :
2022-09-26 06:00:39.288 -0700 COMM: connection established. sock=28 remote ip=10.253.0.106 port=3978 local port=44874
2022-09-26 06:00:39.288 -0700 cms agent: Pre. send buffer limit=46080. s=28
2022-09-26 06:00:39.288 -0700 cms agent: Post. send buffer limit=425984. s=28
2022-09-26 06:00:39.288 -0700 Error: cs_load_certs_ex(cs_common.c:654): keyfile not exists
2022-09-26 06:00:39.288 -0700 Error: pan_cmsa_tcp_channel_setup(src_panos/cms_agent.c:864): cms agent: cs_load_certs_ex failed
2022-09-26 06:00:39.288 -0700 cmsa: client will use default context
2022-09-26 06:00:39.288 -0700 Warning: pan_cmsa_tcp_channel_setup(src_panos/cms_agent.c:960): client will not use SNI
2022-09-26 06:00:39.306 -0700 COMM: connection established. sock=29 remote ip=10.253.0.107 port=3978 local port=54792
2022-09-26 06:00:39.306 -0700 cms agent: Pre. send buffer limit=46080. s=29
2022-09-26 06:00:39.306 -0700 cms agent: Post. send buffer limit=425984. s=29
2022-09-26 06:00:39.306 -0700 Error: cs_load_certs_ex(cs_common.c:654): keyfile not exists
2022-09-26 06:00:39.306 -0700 Error: pan_cmsa_tcp_channel_setup(src_panos/cms_agent.c:864): cms agent: cs_load_certs_ex failed
2022-09-26 06:00:39.306 -0700 cmsa: client will use default context
2022-09-26 06:00:39.306 -0700 Warning: pan_cmsa_tcp_channel_setup(src_panos/cms_agent.c:960): client will not use SNI
2022-09-26 06:00:39.326 -0700 Error: pan_cmsa_tcp_channel_setup(src_panos/cms_agent.c:1180): panorama agent: SSL connect error. sock=28 err=1
2022-09-26 06:00:39.342 -0700 Error: pan_cmsa_tcp_channel_setup(src_panos/cms_agent.c:1180): panorama agent: SSL connect error. sock=29 err=1

 

Does anyone already have the same issue ? Can someone help me ?

 

Thanks in advance.

 

Sébastien

1 REPLY 1

L3 Networker

sorry to hear your ZTP might need manual intervention. I have seen this before on 10.1.3.

The fix was to manually set auth key via cli on the FW as the GUI did not accept the auth key from panorama.

 

 

  1. generate the auth keys from panorama when adding FW's
  2. use the auth keys from Panorama on the firewall CLI -   request authkey set <auth key>

2nd step is only possible on the firewall CLI is this is a bug on version 10.1.3.

 

see this knowledge article which you might need to reset communication between FW <> Panorama

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000wlJpCAI&lang=en_US%E2%80%A...

 

 

  • 1897 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!