Neeed help with script

Hi!
TASK: need to write the .rsc script (executed on upload) that creates the certificates (from uploaded cert files) needed for my vpn connection.

I send as .rsc file that contains ‘/certificate import file-name=…’

PROBLEM is that this particular command (after locating the cert. file) ask a passphrase for the certificate.
What to do?