mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-02-10 12:42:56 +00:00
Compare commits
1 Commits
dependabot
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
13fbc53591 |
@@ -660,8 +660,8 @@ const internalCertificate = {
|
||||
* @param {Boolean} [throwExpired] Throw when the certificate is out of date
|
||||
*/
|
||||
getCertificateInfo: async (certificate, throwExpired) => {
|
||||
const filepath = await tempWrite(certificate, "/tmp");
|
||||
try {
|
||||
const filepath = await tempWrite(certificate, "/tmp");
|
||||
const certData = await internalCertificate.getCertificateInfoFromFile(filepath, throwExpired);
|
||||
fs.unlinkSync(filepath);
|
||||
return certData;
|
||||
|
||||
Reference in New Issue
Block a user