title: Interop+Crypto+OpenSslCryptographicException: error:2006D080:BIO routines:BIO_new_file:no such file
body: <p>Server is in Linux but we tried to publish .net core folder. It's working fine in IIS but not working in Linux server.
  We are following below manner of project deployment to google server.</p>
  
  <p><a href="https://cloud.google.com/blog/products/gcp/4-ways-you-can-deploy-an-aspnet-core-app-to-gcp" rel="nofollow noreferrer">https://cloud.google.com/blog/products/gcp/4-ways-you-can-deploy-an-aspnet-core-app-to-gcp</a></p>
  
  <p>Tried since 4 days.
  I need to convert my certificate read code into linux sever mode is below.</p>
  
  <pre><code>string base64str = Convert.ToBase64String(Certificate);
  X509Certificate2 certificate = new X509Certificate2(baseBytes, "notasecret", X509KeyStorageFlags.Exportable);
  </code></pre>
  
  <p>We are used above line for generating signed url of which file are stored at google repositories. </p>