Problem importing SSL cert

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
dj.dule
Posts: 3
Joined: Fri Jan 13, 2017 4:15 pm

Problem importing SSL cert

Post by dj.dule » 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 ?

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Problem importing SSL cert

Post by thisjun » Thu Mar 30, 2017 7:55 am

Please login with server management mode instead of hub management mode.

Post Reply