Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PeteB

Pages: [1]
1
SSL / Need LetsEncrypt SSL for mail. only
« on: June 29, 2020, 03:05:49 AM »
The website is hosted on another server and the DNS CNAMEs to it.

However, I still want secure connections for mail.

The auto-generator won't work unless the A record for the website is pointing to the server.

How do I get an SSL cert for mail.domain.com when domain.com is pointing to another server?


2
CentOS-WebPanel GUI / Re: How to Customise CSS in Web Panel
« on: June 17, 2020, 09:52:16 PM »
Love to know if we've gotten anywhere with this.  Switching between servers and seeing the same control panel "theme" is just a recipe for mistakes late in the day.  Would be nice if there was a permanent "include custom.css" that survives upgrades.

3
This becomes visible when the cert is flagged to also work for mail.[domain].  postfix starts to throw warnings about a malformed BASE64 value on the domain's private cert. 

It's happened enough times now for me to know what to do - which is to delete the cert in CWP Admin, re-create it, and restart httpd and postfix.

I suspect the cron-driven update of SSL certs needs a look to see why that causes problems while the manual creation does not.

Postfix warnings look like this:

Code: [Select]
May 17 13:33:34 x.x.x.x postfix/smtpd[11979]: warning: table hash:/etc/postfix/vmail_ssl.map.db: key mail.domain.com: malformed BASE64 value: /etc/pki/tls/private/domain.com.key

4
E-Mail / Re: mail_ssl.map.db: key malformed BASE64 value
« on: April 14, 2020, 08:02:42 PM »
Thank you.  That fixed it.

I suspect creating SSL certs using the client control panel is the problem then.

5
E-Mail / mail_ssl.map.db: key malformed BASE64 value
« on: April 14, 2020, 10:18:57 AM »
Code: [Select]
Apr 14 22:02:38 125-236-223-30 postfix/smtpd[11474]: connect from mail-qk1-f172.google.com[209.85.222.172]
Apr 14 22:02:39 125-236-223-30 postfix/smtpd[11474]: warning: table hash:/etc/postfix/vmail_ssl.map.db: key mail.domain.com: malformed BASE64 value: /etc/pki/tls/private/domain.c
Apr 14 22:02:39 125-236-223-30 postfix/smtpd[11474]: warning: tls_server_sni_maps: mail.domain.com map lookup problem
Apr 14 22:02:39 postfix/smtpd[11474]: SSL_accept error from mail-qk1-f172.google.com[209.85.222.172]: -1
Apr 14 22:02:39 postfix/smtpd[11474]: warning: TLS library problem: error:1412E0E2:SSL routines:ssl_parse_clienthello_tlsext:clienthello tlsext:t1_lib.c:2604:
Apr 14 22:02:39 postfix/smtpd[11474]: warning: TLS library problem: error:1408A0E3:SSL routines:ssl3_get_client_hello:parse tlsext:s3_srvr.c:1257:
Apr 14 22:02:39 postfix/smtpd[11474]: lost connection after STARTTLS from mail-qk1-f172.google.com[209.85.222.172]
Apr 14 22:02:39 postfix/smtpd[11474]: disconnect from mail-qk1-f172.google.com[209.85.222.172] ehlo=1 starttls=0/1 commands=1/2

domain.com replaced the actual domain, for privacy purposes. 

I've set up two accounts, and they are accessible using a mail client via IMAP.  I created an SSL cert for mail.domain.com.

I'm a bit at a loss to understand why this is happening.  Any ideas?


6
Backup / Re: Backup to G.Drive
« on: January 21, 2020, 08:35:13 AM »
I prefer rclone

https://rclone.org/
https://rclone.org/install/
https://www.techrepublic.com/article/how-to-sync-from-linux-to-google-drive-with-rclone/

Pro Tip:  send one, compressed file.  gdrive slows down uploads to unpractical speeds if you need to copy a lot of files.

7
Hi all.  All the best for the new year.

Just adding my voice to this request - yes please.  No longer a luxury, I think.

8
Suggestions / Enable/Disable goaccess web statistics per account
« on: January 16, 2020, 12:02:41 AM »
I'm running a server where site owners never need to see any site performance stats.  The intro of goaccess to provide stats via the user control panel is a very nice move.  But it is eating disk space that has nobody interested in looking at the pretty information.

At the rate of 0.3MB per day/per user, it has been increasing the size of the backups.

I can run a cron-job to erase all the files it creates in /home/<account>/cwp_stats/, but it seems to me an ON/OFF somewhere in the CPW ecosystem will be appreciated.

Many thanks.

9
CentOS-WebPanel Bugs / Can't delete Addon Domain using red Delete button
« on: September 12, 2019, 03:55:11 AM »
On the User control panel

Domains > Domains (List Addon Domains)

The Delete button isn't clickable







10
Other / Re: Not login in control panel!
« on: August 18, 2019, 08:16:44 AM »
Interesting.

Exactly what happened to me as well.

The real question is:  how did it "magically" lose its package?

Anyway - learned something new :)   Know what to do if it happens again.

11
Thanks.  That fixed it.

A bit embarrassed that I just had to turn it off and on again.  I rebooted the server but didn't think to "reboot" the browser.  :-[

12
Notice: Undefined index: csrf_token in /usr/local/cwpsrv/htdocs/resources/admin/modules/csf.php on line 0


Upgraded today, and since then (but not necessarily because of it, as I have also touched other config), I get this when I click on CSF Firewall:



and this is the top of csf.php



The only other thing that I did which may be related is setting up php-fpm, which is currently in this state



Don't think it stops or breaks anything, but it may also be happening to others, so I thought I'd report it in.

P









Pages: [1]