Local_Sensitive_file not working in Git Pipeline

I am using Local_sensitive_file resource to create a certificate (.crt) file. It is working fine and file is getting created on my local system but the same is not happening when I run through pipeline. Any help is appreciated.

@apparentlymart Any thoughts ?