After receiving the certificate chain from the external CA:
openssl x509 -text -in signedcertificate.pem
In addition,the private key of the s1as certificate will need to be obtained from the keystore file.
openssl pkcs12 -in keystore.p12 -nocerts -out privatekey.pem
Once the externally signed certificate and the encrypted private key are obtained from the keystore, use openssl to combine them into a new PKCS12 keystore.
openssl pkcs12 -export -out signedcertificate.p12 -in signedcertificate.pem -inkey privatekey.pem -name s1as
rm privatekey.pem
With the new PKCS12 keystore, the old existing keystore in Payara can be replaced. Proceed to the "Replacing the Existing Keystore" section.