{"action":"closed","issue":{"url":"https://api.github.com/repos/webprofusion/certify/issues/253","repository_url":"https://api.github.com/repos/webprofusion/certify","labels_url":"https://api.github.com/repos/webprofusion/certify/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/webprofusion/certify/issues/253/comments","events_url":"https://api.github.com/repos/webprofusion/certify/issues/253/events","html_url":"https://github.com/webprofusion/certify/issues/253","id":294080232,"number":253,"title":"New Issues save crt to diy folder","user":{"login":"ckhker","id":11842607,"avatar_url":"https://avatars0.githubusercontent.com/u/11842607?v=4","gravatar_id":"","url":"https://api.github.com/users/ckhker","html_url":"https://github.com/ckhker","followers_url":"https://api.github.com/users/ckhker/followers","following_url":"https://api.github.com/users/ckhker/following{/other_user}","gists_url":"https://api.github.com/users/ckhker/gists{/gist_id}","starred_url":"https://api.github.com/users/ckhker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckhker/subscriptions","organizations_url":"https://api.github.com/users/ckhker/orgs","repos_url":"https://api.github.com/users/ckhker/repos","events_url":"https://api.github.com/users/ckhker/events{/privacy}","received_events_url":"https://api.github.com/users/ckhker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-03T03:36:22Z","updated_at":"2018-02-10T04:17:14Z","closed_at":"2018-02-10T04:17:14Z","author_association":"NONE","body":"try to change VaultManager.ExportCertificate\r\n`\tstring text8 = Environment.CurrentDirectory + \"\\\\data\\\\\" + identifierDns;\r\n\tif (!Directory.Exists(text8))\r\n\t{\r\n\t\tDirectory.CreateDirectory(text8);\r\n\t}\r\n\tstring destFileName = text8 + \"\\\\\" + identifierDns + \"-key.pem\";\r\n\tstring destFileName2 = text8 + \"\\\\\" + identifierDns + \"-csr.pem\";\r\n\tstring text9 = text8 + \"\\\\\" + identifierDns + \"-crt.pem\";\r\n\tstring destFileName3 = text8 + \"\\\\\" + identifierDns + \"-crt.der\";\r\n\tstring destFileName4 = text8 + \"\\\\\" + identifierDns + \"-all.pfx\";\r\n\tstring text10 = text8 + \"\\\\ca.pem\";\r\n\tstring destFileName5 = text8 + \"\\\\ca.der\";\r\n\tstring path = text8 + \"\\\\\" + identifierDns + \".txt\";\r\n\tACMESharpUtils.GetCertificate(certRef, text, text2, text3, text4, text5, text6, text7, null, null, true, null);\r\n\tFile.Copy(text, destFileName, true);\r\n\tFile.Copy(text2, destFileName2, true);\r\n\tFile.Copy(text3, text9, true);\r\n\tFile.Copy(text4, destFileName3, true);\r\n\tFile.Copy(text7, destFileName4, true);\r\n\tFile.Copy(text5, text10, true);\r\n\tFile.Copy(text6, destFileName5, true);\r\n\tstring contents = File.ReadAllText(text9) + Environment.NewLine + File.ReadAllText(text10);\r\n\tFile.WriteAllText(path, contents);`\r\ndefault folder is hard to find Generated certificate. maybe you can save all certificate to a diy folder"}}
{"actor":{"display_login":"webprofusion-chrisc"}}