Problem importing SSL cert
Posted: Wed Mar 22, 2017 9:43 am
Hi,
(I am running latest build of Soft Ether and doing this as root)
I tried to import SSL cert for my server and I received this message:
root@vpn-test-2:~/vpnserver# ./vpncmd localhost:443 /SERVER /HUB:VPN /CMD ServerCertSet /LOADCERT:/etc/letsencrypt/live/vpn-test-2.selectedgreen.com/fullchain.pem /LOADKEY:/etc/letsencrypt/live/vpn-test-2.selectedgreen.com/privkey.pem
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.22 Build 9634 (English)
Compiled 2016/11/27 15:23:56 by yagi at pc30
Copyright (c) SoftEther VPN Project. All Rights Reserved.
Password: ********
Connection has been established with VPN Server "localhost" (port 443).
You have administrator privileges for Virtual Hub 'VPN' on the VPN Server.
VPN Server/VPN>ServerCertSet /LOADCERT:/etc/letsencrypt/live/vpn-test-2.selectedgreen.com/fullchain.pem /LOADKEY:/etc/letsencrypt/live/vpn-test-2.selectedgreen.com/privkey.pem
ServerCertSet command - Set SSL Certificate and Private Key of VPN Server
Error occurred. (Error code: 52)
Not enough privileges.
I imported that same cert through Server Manager with same credentials without any problems. What might be the problem ?
(I am running latest build of Soft Ether and doing this as root)
I tried to import SSL cert for my server and I received this message:
root@vpn-test-2:~/vpnserver# ./vpncmd localhost:443 /SERVER /HUB:VPN /CMD ServerCertSet /LOADCERT:/etc/letsencrypt/live/vpn-test-2.selectedgreen.com/fullchain.pem /LOADKEY:/etc/letsencrypt/live/vpn-test-2.selectedgreen.com/privkey.pem
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.22 Build 9634 (English)
Compiled 2016/11/27 15:23:56 by yagi at pc30
Copyright (c) SoftEther VPN Project. All Rights Reserved.
Password: ********
Connection has been established with VPN Server "localhost" (port 443).
You have administrator privileges for Virtual Hub 'VPN' on the VPN Server.
VPN Server/VPN>ServerCertSet /LOADCERT:/etc/letsencrypt/live/vpn-test-2.selectedgreen.com/fullchain.pem /LOADKEY:/etc/letsencrypt/live/vpn-test-2.selectedgreen.com/privkey.pem
ServerCertSet command - Set SSL Certificate and Private Key of VPN Server
Error occurred. (Error code: 52)
Not enough privileges.
I imported that same cert through Server Manager with same credentials without any problems. What might be the problem ?