PTA: Establishing a Connection Between PTA and PVWA

PTA: Establishing a Connection Between PTA and PVWA

96
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:50 PM


Objective


The PVWA has the capability of displaying security events and configuring security configurations that reside on the PTA. 

This will work only if there is a trust between the PVWA and PTA server, and the main trust method is by SSL. While self-signed certificates can be used, it is much better and preferred to use an established Certificate Authority (this can be an internal or external)

The following shows how to do this during installation and after installation


Environment


10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6

Procedure


During Installation
------------------------
This assumes that the PTA images was imported to a VM using the provided OVF image. When the initial PTA Is booted and you are prompted for a login:

1. Login as root. The default root password for the OVF image is DiamondAdmin123!
2. (Optional) Change the hostname
* hostnamectl –static set-hostname <hostname>
​​* systemctl restart systemd-hostnamed
* Reboot
3. Once the server is rebooted
* Login
* cd /opt/tomcat/prepwiz
* ./run.sh

4. Complete steps 1 - 7 of the process. At this point, we will need to create and install the proper certificate


Do not interrupt (CTRL-C) the prepwiz
* Open a separate SSH session to the PTA server - since the IP address and network information was completed, an SSH connection is possible
* cd /opt/tomcat/utility
* ./certificateSigningRequestGenerationUtil.sh - This is the process to create a key and also a Certificate Signing Request (CSR) to use for requesting the certificate

* Fill in all the information as completely as possible
* Copy the entire CSR. The CSR looks something like this:-----BEGIN NEW CERTIFICATE REQUEST-----
MIIDDzCCAfcCAQAwfTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCEtlbnR1Y2t5MRgw
FgYDVQQHEw9DcmVzdHZpZXcgSGlsbHMxDDAKBgNVBAoTA0xhYjEMMAoGA1UECxMD
TGFiMSUwIwYDVQQDExxsYWItcHRhcHJpLmxhYi50c2F3eWVyLmxvY2FsMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtH9tO2MxS5EdIQ188btKA0TCdpmH
w5n9uXHpa262M+iQAn9LGnbv7FOWKgKMnUhn7PMo/Sl/+aihuJq3rAlxW/f5IhE8
1ngaxuc24/OxTi8wbQ/BbIFa/hspqkWiNWHAaJPrAmfOqzfGHHCHB0b66VFLtb7p
rHvpAdVq5JjjB5guClAMKhDM+jq3gSA2CeRPMUTmxeJOrQ9//FFjlOrTqFS8kbyq
lnpv1ttZfFP69K3+BGnL4mAU6q/7m97B7pKmdAprznBmPP7cEYMHha7jgWieAsqM
SscX6eM0B1Jxp57+NJ/NWKNU6gpKDbPVZORP8JYbUmi/A5rD/TyT1ITiGwIDAQAB
oE0wSwYJKoZIhvcNAQkOMT4wPDAbBgNVHREEFDASggpsYWItcHRhcHJphwTAqPco
MB0GA1UdDgQWBBTHs11avidSD8nwnimqjS4WTYGcFzANBgkqhkiG9w0BAQsFAAOC
AQEAlnmovmM3pFjnMqRf+kvAnx9FnCF12gAAEzuKUnE4jf+wKdZ25KB/nYtZ3BT+
HeEX1SvGorvIWUtzb8YzIYqLHFUTyz5pFJqsckOYPSnPhWYg4KHl1PBFi4/auzAb
Rqd48rqNDy7FkrwzSMR9bXrSbd+gsWd9KFaFl7vruEIllAFJIHWfYwu9l6fjfmWV
iHgogaq2dsSYXRu81DWbklkHG+rEOI32FRlfyVTtIdRf4c5dxSh7HxhuKporPdRw
n6t5rBaVl4fvxT2LOCwlyWHF+6vLivF1PF2Q9w46xgCXfsrxnXsEeRmKhsaulpde
v+G/OZ/1iEqIPVRRkuCv4byqXg==
-----END NEW CERTIFICATE REQUEST-----
* Submit the CSR to the CA for certificate generation
* Retrieve the certificate, ensuring it is Base-64 encoded
* Copy the new certificate to the PTA
* In the separate shell window, run ./sslCertificateInstallationUtil.sh
'
5. Once the certificate is installed, proceed with the remainder of the installation.
* When you are asked if you want to maintain the trust relationship, type 'n'

After the PTA is installed and restarted, the PVWA should be receiving events in the 'Security -> Security Events' section:

Also, you should be able to see the security configurations as well.

Post-Installation
If the PTA has already been installed, you can run the commands in this order (after logging into the PTA and getting root privileges)
* cd /opt/tomcat/utility
* ./certificateSigningRequestGenerationUtil.sh
* ./sslCertificateInstallationUtil.sh 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000kHOCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail