Im trying to sign a PDF with PHP in Google App Engine standard environment.
When I try to run openssl_pkcs7_sign, the Stackdriver warns that the file could not be found. I have tried using Google Cloud Storage too, but it does not work. $tempdoc = tempnam(sys_get_temp_dir(), 'tcpdf_43fa8d07af13688a76d62542bae96475_doc_b900c3e9fa55248421a8f2be33b23a29_'); $f = fopen($tempdoc, 'wb'); fwrite($f, 'hi'); fclose($f); openssl_pkcs7_sign($tempdoc, '-----BEGIN CERTIFICATE-----……', array('-----BEGIN PRIVATE KEY-----….', ''), array(), PKCS7_BINARY | PKCS7_DETACHED); PHP Warning: openssl_pkcs7_sign(): error opening input file vfs://root/temp/tcpdf_43fa8d07af13688a76d62542bae96475_doc_b900c3e9fa55248421a8f2be33b23a29_5a77beba622c81.38516089! Any idea? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/22d6af02-eabf-4398-9866-d4d59247ebe5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.