How to give value in runtime for chef
You shouldn't. Instead you should use proper secrets management system that would provide you unlocked SSL certificate.



By secret management I mean tooling like k8s secret management or Vault.

You can read Medium post about secrets.