Exception 67 raised when runing create_bsp_images.py with the option -p <pkc_file>

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.1.10844
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

I use openssl to generate a private key rsa_priv.pem.

openssl genrsa -out rsa_priv.pem 3072

I create the bsp image with the following command, it works fine.

./create_bsp_images.py -g ${IMAGEOUTDIR} -b $board -r $ChipID -D -m 

However, when I add -p <pkc_file> option to sign the image with the private key rsa_priv.pem

./create_bsp_images.py -g ${IMAGEOUTDIR} -b $board -r $ChipID -D -m -p /home/plusai/Documents/pluslearn/v3nk_bsp/pdk/scripts/encrypt_test/rsa_priv.pem

execution failed:

Dear @wenxuan.zhu,
May I know DRIVE OS version is installed using sdkmanager using Devzone credentials?

Sorry, I do not understand you.
I use DRIVE OS Docker Container to build the DRIVE OS 6.0.5 image.

It appears that you are using DRIVE OS PDK on P3663. Please note that neither PDK nor P3663 are supported through the forum. If you are unsure of the appropriate support channel, please contact your NVIDIA representative for assistance.