Page 1 of 1

Can't create certificates (makecert)

Posted: Tue Feb 21, 2017 10:20 am
by senset
Hello! I'm trying to create certificates via command makecert (attached screen)... and I have a issue: what I'm doing wrong? Can anyone help me with it?
vpnserver starts by root
owner is a root for all files\folders in vpnserver directory

Re: Can't create certificates (makecert)

Posted: Tue Feb 21, 2017 11:33 am
by moatazelmasry
As the error says:
"You cannot make a blank certificate"

I think you need to fill out some of those fields, at least the first 3-4 fields

Re: Can't create certificates (makecert)

Posted: Tue Feb 21, 2017 12:43 pm
by senset
moatazelmasry wrote:
> As the error says:
> "You cannot make a blank certificate"
>
> I think you need to fill out some of those fields, at least the first 3-4
> fields

Thx, for ur reply! I tryed to place any text for those fields... but (attached) files didn't creates

Re: Can't create certificates (makecert)

Posted: Tue Feb 21, 2017 3:40 pm
by moatazelmasry
Are you sure you are allowed to write into the given directory?

Example: You are a normal user, then you "cd /root", then issue the vpncmd command, you will receive an error.

Also of fun, could you please give the full file path, instead of just the file name when generating the certificate

Re: Can't create certificates (makecert)

Posted: Wed Feb 22, 2017 6:27 am
by senset
moatazelmasry wrote:
> Are you sure you are allowed to write into the given directory?
Yes. vpnserver direcory is /srv/vpnserver and I use 777 rule for that directory (for test - attached proof)

> Example: You are a normal user, then you "cd /root", then issue
> the vpncmd command, you will receive an error.
I'm trying use vpnserver via SoftEther VPN Command Line Utility. Process started by root
----------------
root@betelgeuse:~# ps -axu | grep vpnserver
root 29534 0.0 0.0 12428 968 ? S<s февр.21 0:00 /srv/vpnserver/vpnserver execsvc
root 29535 0.2 2.0 571840 20964 ? S<l февр.21 2:42 /srv/vpnserver/vpnserver execsvc
root 31464 0.0 0.2 12996 2288 pts/0 S+ 10:14 0:00 grep --color=auto vpnserver
----------------
> Also of fun, could you please give the full file path, instead of just the
> file name when generating the certificate
Attached screen (still have a issue)

Re: Can't create certificates (makecert)

Posted: Thu Feb 23, 2017 7:28 pm
by moatazelmasry
Could you please try this command on another machine? local or remote. I suspect this has to do with file permission.

Out curiosity, could you also keep an eye on server\_log directory while doing this (I'm not sure whether anything is written, but still)

Re: Can't create certificates (makecert)

Posted: Tue Feb 28, 2017 6:29 am
by senset
moatazelmasry wrote:
> Could you please try this command on another machine? local or remote. I
> suspect this has to do with file permission.
>
> Out curiosity, could you also keep an eye on server\_log directory while
> doing this (I'm not sure whether anything is written, but still)
I try to use that command from local server machine... and it works! (strangely)
Thx for your help!