
When you are executing the command sapgenpse seclogin -p [PATH-TO-SEC], below error coming out,
seclogin: Can’t add credentials

The same solution can be use if you encountered below error message,
keytab: Can't create PSE
Solution
Maintain the environment variables for SECUDIR under sidadm.




Thank you !! Solved my problem