Issues when using ./certbot-auto


#1

So Im following the instructions for https://certbot.eff.org/#ubuntutrusty-apache

But on the last request for sudo access I get this error

this is the log files-

http://pastebin.com/ySupFgTy

Many thanks.


#2

Do you have a control panel ? plesk I’m guessing from the error. If so, then you may be better using the plesk plugin as there will probably be a conlict between certbot trying to configure apache and plesk trying to configure apache.


#3

No control panel - Just a headless 14.04 Ubuntu server.

What should i do?

Thanks.


#4

I’d check your apache config, for at least the three errors;

Syntax error on line 216 of /etc/apache2/apache2.conf:
Syntax error on line 5 of /etc/apache2/conf-enabled/zz010_psa_httpd.conf:
Syntax error on line 58 of /etc/apache2/plesk.conf.d/server.conf:

The reason I was asking about plesk is because of the plesk.conf.d files in your apache config. I’d suggest backing up and removing any config files that you no longer use / need. and check what the specific errors are on the others.


#5

I’m Sorry, but could you be a bit more descriptive in regards what i should keep or not keep?

I will check the 3 files you mentioned. But what kind of syntax errors are there for conf files?


#6

not without seeing your config files, no, sorry. I’d also need to know what you were needing to achieve ( i.e. just host one domain, multiple domains, a webmail package … etc )

Lots ( not helpful I know), but there could be missing brackets, typos etc). You can test it with

apachectl configtest


#7

Hello Serverco!

You see I am running a fair few back-end websites on the server. Its using HTTP and as you know it isn’t secure. I just need to secure the one domain i use for it as it conveys things like password or user data.

While i wait for a reply i will see what i can do with those 3 conf files


#8

Hello Again.

Here are the file files paste-binned. I haven’t not edited these files before and i really can’t see the syntax issue.

http://pastebin.com/ULTqaq8w

apache2.conf: 1
server.conf: 232
zz010_osa: 453


Sorry didn’t see the edit button.

You see I am using a domain via A host record - which is hosted by godaddy.

I have ports which lead to different web-servers. and wish for them to use https


#9

This seems to only have the first part of the files and is truncated.

How did you generate all your configs on this ubuntu server ? the config appears full of information usually found on a server with a plesk control panel


#10

I believe the files were generated when i had the OS installed from a dedicated hoster. I will ask what control panel.

Will get back to you on it.


#11

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.