Can't create certificates (makecert)

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
senset
Posts: 4
Joined: Tue Feb 21, 2017 10:12 am

Can't create certificates (makecert)

Post by senset » Tue Feb 21, 2017 10:20 am

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
You do not have the required permissions to view the files attached to this post.

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: Can't create certificates (makecert)

Post by moatazelmasry » Tue Feb 21, 2017 11:33 am

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

senset
Posts: 4
Joined: Tue Feb 21, 2017 10:12 am

Re: Can't create certificates (makecert)

Post by senset » Tue Feb 21, 2017 12:43 pm

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
You do not have the required permissions to view the files attached to this post.

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: Can't create certificates (makecert)

Post by moatazelmasry » Tue Feb 21, 2017 3:40 pm

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

senset
Posts: 4
Joined: Tue Feb 21, 2017 10:12 am

Re: Can't create certificates (makecert)

Post by senset » Wed Feb 22, 2017 6:27 am

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)
You do not have the required permissions to view the files attached to this post.

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: Can't create certificates (makecert)

Post by moatazelmasry » Thu Feb 23, 2017 7:28 pm

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)

senset
Posts: 4
Joined: Tue Feb 21, 2017 10:12 am

Re: Can't create certificates (makecert)

Post by senset » Tue Feb 28, 2017 6:29 am

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!

Post Reply