Certutil command is prompting for password

Hi,
We have been observing that after migration to CentOS 7.4 the installation fails due to password being prompted for the execution of below command as part of the install script.

<custom_location>certutil -N -d -f /nsspassword

The install script contains the above command to create the NSSDB at the install time. Ideally, this command should never prompt for a password when it is already provided as part of ‘-f’ argument but seeing this issue after migration to centOS 7.4.
Also frequency of the issue is intermittent.

nss-tools-3.28.4-8.el7.x86_64 this is the nss-tools version which we are using.

Can anyone please help us to find the cause of this issue?

Thanks and regards,
Vyshnav