<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I¡¯m trying to use the certificate generated by letsencrypt for my ikev2 vpn, and I use swanctl.conf<div class=""><br class=""></div><div class="">I copied either cert.pem or fullchain.pem to swanctl/x509 as cert.pem, and specify certs.pem to local.certs. When starting charon, it fails with</div><div class=""><br class=""></div><div class="">loading ¡®/path/to/cert.pem¡¯ failed: parsing X509 certificate failed</div><div class=""><br class=""></div><div class="">It seems swanctl doesn¡¯t directly support the certificate generated by letsencrypt? Is it possible to convert manually?</div><div class=""><br class=""></div><div class="">Another quick question, if I name the pem file as mydomain.com.pem, charon fails with invalid syntax for certs, and it also fails with the same reason if I put it in a subfolder in x509 and specify <a href="http://mydomain.com/cert.pem" class="">mydomain.com/cert.pem</a> to certs. Does that main cert file shouldn¡¯t contain more than two dots in the file name? And subfolder isn¡¯t supported?</div><div class=""><br class=""></div><div class="">Thanks a lot.</div></body></html>