Coder Social home page Coder Social logo

无法生成证书 about one-key-ikev2-vpn HOT 4 CLOSED

quericy avatar quericy commented on July 18, 2024
无法生成证书

from one-key-ikev2-vpn.

Comments (4)

m13253 avatar m13253 commented on July 18, 2024 3

可能你的strongswan安装有问题,而且这个脚本没有在debian下测试的

sudo apt install strongswan-pki

from one-key-ikev2-vpn.

quericy avatar quericy commented on July 18, 2024

生成证书所用的ipsec pki指令报错了。。。
可能你的strongswan安装有问题,而且这个脚本没有在debian下测试的
你可以参考或者使用这个脚本:https://github.com/magic282/One-Key-L2TP-IKEV2-Setup

from one-key-ikev2-vpn.

 avatar commented on July 18, 2024

把系统改为 centOS 6 后,说证书找不到,不知道哪里不对

make[2]: Leaving directory /root/one-key-ikev2-vpn/strongswan-5.3.2' make[1]: Leaving directory/root/one-key-ikev2-vpn/strongswan-5.3.2'
ca.pem [not found]
auto create ca.pem ...
ca.cert.pem [not found]
auto create ca.cert.pem ...
configure the pkcs12 cert password(Can be empty):
Enter Export Password:
Verifying - Enter Export Password:
####################################
Press any key to install ikev2 VPN cert
net.ipv4.ip_forward = 1
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
Starting strongSwan 5.3.2 IPsec [starter]...
no netkey IPsec stack detected
no KLIPS IPsec stack detected
no known IPsec stack detected, ignoring!

from one-key-ikev2-vpn.

quericy avatar quericy commented on July 18, 2024

这个是正常的,Not found是因为没有自带证书,这时脚本将调用ipsec自动生成ca证书。
如果有自己的根证书和密钥的话,放到脚本相同目录会识别并用于生成后续的其他证书。

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.