Coder Social home page Coder Social logo

Comments (4)

quericy avatar quericy commented on July 18, 2024

证书应该要有颁发策略才能使用.
普通的泛域名证书只是用于证明身份的应该不行

from one-key-ikev2-vpn.

jg168 avatar jg168 commented on July 18, 2024

颁发策略指的是什么呢?没见过这样的证书呢

from one-key-ikev2-vpn.

jg168 avatar jg168 commented on July 18, 2024

我尝试过在windows2008上用泛域名证书配置,配置成功

from one-key-ikev2-vpn.

quericy avatar quericy commented on July 18, 2024

@jg168 看下脚本以下几行:
https://github.com/quericy/one-key-ikev2-vpn/blob/master/one-key-ikev2.sh#L249-L253

将你的证书按以下规则命名并替换到脚本那几行的目录下:
ca.cert.pem 证书办法机构的CA,比如Let's Encrypt的CA证书,或者其他链证书
server.cert.pem 签发的域名证书
server.pem 签发域名证书时用的私钥
client.cert.pem 签发的域名证书
client.pem 签发域名证书时用的私钥

补充: 如果是 *.域名 的通配符开头的泛域名证书,需要在/usr/local/etc/ipsec.conf 配置文件中修改leftid=*.你的域名

最后重启ipsec服务即可

from one-key-ikev2-vpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.