Impossible to change email user password from Rouncube
-
- Posts: 74
- Joined: Wed Nov 18, 2015 12:16 am
Re: Impossible to change email user password from Rouncube
It's not related with this, that is a frontend bug with tinyMCE.MrConstantine wrote:Before I did so http://forum.vestacp.com/viewtopic.php? ... 252#p38264
Let's see what your log says.
In SSH as root run:
Code: Select all
chown admin:admin /var/log/roundcube
Then open /var/log/roundcube/errors and paste log here.
Last edited by dpeca on Fri Feb 05, 2016 2:51 pm, edited 1 time in total.
Re: Impossible to change email user password from Rouncube
You need also this.
Run as root in SSH console:
Run as root in SSH console:
Code: Select all
cp /var/lib/roundcube/plugins/jqueryui/config.inc.php.dist /var/lib/roundcube/plugins/jqueryui/config.inc.php
-
- Posts: 74
- Joined: Wed Nov 18, 2015 12:16 am
Re: Impossible to change email user password from Rouncube
These are the errors. :(
Log file /var/log/roundcube/errors
Thank you
Log file /var/log/roundcube/errors
SpoilerShow
[07-Feb-2016 18:11:26 +0000]: <34kngum9> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail)
[07-Feb-2016 18:11:36 +0000]: <34kngum9> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=logout&_token=bd4ebfac72a21c84770911ed587dc383)
[09-Feb-2016 12:52:59 +0000]: <34kngum9> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/)
[09-Feb-2016 12:53:22 +0000]: <34kngum9> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[09-Feb-2016 12:53:24 +0000]: <34kngum9> IMAP Error: Login failed for [email protected] from IPADDR(X-Real-IP: IPADDRCLIENT,X-Forwarded-For: IPADDRCLIENT). AUTHENTICATE PLAIN: Authentication failed. in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 198 (POST /webmail/?_task=login?_task=login&_action=login)
[09-Feb-2016 12:53:33 +0000]: <34kngum9> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[09-Feb-2016 12:53:37 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail)
[09-Feb-2016 12:53:48 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_action=show&_uid=6&_mbox=INBOX&_caps=pdf%3D1%2Cflash%3D1%2Ctif%3D0)
[09-Feb-2016 12:53:50 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=addressbook&_action=photo&_email=support%40gogetssl.com)
[09-Feb-2016 12:53:57 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_refresh=1&_uid=6&_mbox=INBOX)
[09-Feb-2016 12:54:03 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_action=show&_uid=7&_mbox=INBOX&_caps=pdf%3D1%2Cflash%3D1%2Ctif%3D0)
[09-Feb-2016 12:54:04 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=addressbook&_action=photo&_email=noreply_support%40comodo.com)
[09-Feb-2016 12:54:08 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_action=show&_uid=7&_mbox=INBOX&_safe=1&_caps=pdf%3D1%2Cflash%3D1%2Ctif%3D0)
[09-Feb-2016 12:54:39 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_refresh=1&_uid=7&_mbox=INBOX)
[09-Feb-2016 12:54:51 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=logout&_token=c9115b58ac8f3a2fed21387d8760dc3b)
[13-Feb-2016 13:06:38 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/)
[13-Feb-2016 13:06:57 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[13-Feb-2016 13:06:57 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail)
[13-Feb-2016 13:07:02 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=settings)
[13-Feb-2016 13:07:05 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=settings&_action=plugin.password)
[13-Feb-2016 13:07:16 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=settings&_action=plugin.password-save?_task=&_action=)
[13-Feb-2016 13:07:16 UTC] PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[13-Feb-2016 13:07:16 UTC] PHP Warning: fsockopen(): Failed to enable crypto in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[13-Feb-2016 13:07:16 UTC] PHP Warning: fsockopen(): unable to connect to ssl://MYDOMAIN:8083 (Unknown error) in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[13-Feb-2016 13:07:16 UTC] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 50
[13-Feb-2016 13:07:16 UTC] PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 51
[13-Feb-2016 13:07:16 UTC] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 52
[13-Feb-2016 13:07:20 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=logout&_token=fcd07fbdf62d2dd0554c8dd86696f882)
[14-Feb-2016 01:36:38 UTC] PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[14-Feb-2016 01:36:38 UTC] PHP Warning: fsockopen(): Failed to enable crypto in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[14-Feb-2016 01:36:38 UTC] PHP Warning: fsockopen(): unable to connect to ssl://MYDOMAIN.com:8083 (Unknown error) in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[14-Feb-2016 01:36:38 UTC] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 50
[14-Feb-2016 01:36:38 UTC] PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 51
[14-Feb-2016 01:36:38 UTC] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 52
[07-Feb-2016 18:11:36 +0000]: <34kngum9> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=logout&_token=bd4ebfac72a21c84770911ed587dc383)
[09-Feb-2016 12:52:59 +0000]: <34kngum9> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/)
[09-Feb-2016 12:53:22 +0000]: <34kngum9> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[09-Feb-2016 12:53:24 +0000]: <34kngum9> IMAP Error: Login failed for [email protected] from IPADDR(X-Real-IP: IPADDRCLIENT,X-Forwarded-For: IPADDRCLIENT). AUTHENTICATE PLAIN: Authentication failed. in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 198 (POST /webmail/?_task=login?_task=login&_action=login)
[09-Feb-2016 12:53:33 +0000]: <34kngum9> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[09-Feb-2016 12:53:37 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail)
[09-Feb-2016 12:53:48 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_action=show&_uid=6&_mbox=INBOX&_caps=pdf%3D1%2Cflash%3D1%2Ctif%3D0)
[09-Feb-2016 12:53:50 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=addressbook&_action=photo&_email=support%40gogetssl.com)
[09-Feb-2016 12:53:57 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_refresh=1&_uid=6&_mbox=INBOX)
[09-Feb-2016 12:54:03 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_action=show&_uid=7&_mbox=INBOX&_caps=pdf%3D1%2Cflash%3D1%2Ctif%3D0)
[09-Feb-2016 12:54:04 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=addressbook&_action=photo&_email=noreply_support%40comodo.com)
[09-Feb-2016 12:54:08 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_action=show&_uid=7&_mbox=INBOX&_safe=1&_caps=pdf%3D1%2Cflash%3D1%2Ctif%3D0)
[09-Feb-2016 12:54:39 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail&_refresh=1&_uid=7&_mbox=INBOX)
[09-Feb-2016 12:54:51 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=logout&_token=c9115b58ac8f3a2fed21387d8760dc3b)
[13-Feb-2016 13:06:38 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/)
[13-Feb-2016 13:06:57 +0000]: <6k8n1q3t> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[13-Feb-2016 13:06:57 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=mail)
[13-Feb-2016 13:07:02 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=settings)
[13-Feb-2016 13:07:05 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=settings&_action=plugin.password)
[13-Feb-2016 13:07:16 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=settings&_action=plugin.password-save?_task=&_action=)
[13-Feb-2016 13:07:16 UTC] PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[13-Feb-2016 13:07:16 UTC] PHP Warning: fsockopen(): Failed to enable crypto in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[13-Feb-2016 13:07:16 UTC] PHP Warning: fsockopen(): unable to connect to ssl://MYDOMAIN:8083 (Unknown error) in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[13-Feb-2016 13:07:16 UTC] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 50
[13-Feb-2016 13:07:16 UTC] PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 51
[13-Feb-2016 13:07:16 UTC] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 52
[13-Feb-2016 13:07:20 +0000]: <7ocfv64k> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/?_task=logout&_token=fcd07fbdf62d2dd0554c8dd86696f882)
[14-Feb-2016 01:36:38 UTC] PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[14-Feb-2016 01:36:38 UTC] PHP Warning: fsockopen(): Failed to enable crypto in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[14-Feb-2016 01:36:38 UTC] PHP Warning: fsockopen(): unable to connect to ssl://MYDOMAIN.com:8083 (Unknown error) in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 49
[14-Feb-2016 01:36:38 UTC] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 50
[14-Feb-2016 01:36:38 UTC] PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 51
[14-Feb-2016 01:36:38 UTC] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/share/roundcube/plugins/password/drivers/vesta.php on line 52
Thank you
Re: Impossible to change email user password from Rouncube
Are you sure you done this:
What is a URL of your VestaCP?
?dpeca wrote:1. Open /etc/roundcube/plugins/password/config.inc.php
2. Find: $rcmail_config['password_vesta_host'] = 'localhost';
3. Change localhost to your server hostname (if you are not sure what is your hostname, open /etc/hostname file)
4. Also, if you changed Vesta port, change it here too, you will find in next line $rcmail_config['password_vesta_port']
5. Save the file.
What is a URL of your VestaCP?
-
- Posts: 74
- Joined: Wed Nov 18, 2015 12:16 am
Re: Impossible to change email user password from Rouncube
Yes, I'm sure it did.
/etc/roundcube/plugins/password/config.inc.php
/etc/hostname
mydomain.com
/etc/roundcube/plugins/password/config.inc.php
SpoilerShow
<?php
// Password Plugin options
// -----------------------
// A driver to use for password change. Default: "sql".
// See README file for list of supported driver names.
$rcmail_config['password_driver'] = 'vesta';
// Require the new password to be a certain length.
// set to blank to allow passwords of any length
$rcmail_config['password_minimum_length'] = 6;
// Require the new password to contain a letter and punctuation character
// Change to false to remove this check.
$rcmail_config['password_require_nonalpha'] = false;
// Enables logging of password changes into logs/password
$rcmail_config['password_log'] = false;
// Comma-separated list of login exceptions for which password change
// will be not available (no Password tab in Settings)
$rcmail_config['password_login_exceptions'] = null;
// By default domains in variables are using unicode.
// Enable this option to use punycoded names
$rcmail_config['password_idn_ascii'] = false;
// Vesta Driver options
// -----------------------
// Control Panel host
$rcmail_config['password_vesta_host'] = 'mydomain.com';
$rcmail_config['password_vesta_port'] = '8083';
// Password Plugin options
// -----------------------
// A driver to use for password change. Default: "sql".
// See README file for list of supported driver names.
$rcmail_config['password_driver'] = 'vesta';
// Require the new password to be a certain length.
// set to blank to allow passwords of any length
$rcmail_config['password_minimum_length'] = 6;
// Require the new password to contain a letter and punctuation character
// Change to false to remove this check.
$rcmail_config['password_require_nonalpha'] = false;
// Enables logging of password changes into logs/password
$rcmail_config['password_log'] = false;
// Comma-separated list of login exceptions for which password change
// will be not available (no Password tab in Settings)
$rcmail_config['password_login_exceptions'] = null;
// By default domains in variables are using unicode.
// Enable this option to use punycoded names
$rcmail_config['password_idn_ascii'] = false;
// Vesta Driver options
// -----------------------
// Control Panel host
$rcmail_config['password_vesta_host'] = 'mydomain.com';
$rcmail_config['password_vesta_port'] = '8083';
mydomain.com
Re: Impossible to change email user password from Rouncube
And you are accessing Vesta with URL https://mydomain.com:8083/ ?
Basicaly, problem is self-signed SSL.
You can get free certificate with https://letsencrypt.org/howitworks/
Here are the steps:
If succeed, this procedure will create folder /etc/letsencrypt/live/mydomain.com with privkey.pem and cert.pem files.
Copy content of that files to clipboard.
Then run:
Now try to change password from roundcube.
If it fails again, paste me again last 10 lines from /var/log/roundcube/errors
Basicaly, problem is self-signed SSL.
You can get free certificate with https://letsencrypt.org/howitworks/
Here are the steps:
Code: Select all
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto --help
# temporary stop your apache or nginx (probably with command: service apache2 stop)
./letsencrypt-auto certonly --standalone -d mydomain.com
# start again your apache or nginx (probably with command: service apache2 start)
Copy content of that files to clipboard.
Then run:
Code: Select all
nano /usr/local/vesta/ssl/certificate.crt
#delete previously content and paste content from cert.pem, then save.
nano /usr/local/vesta/ssl/certificate.key
#delete previously content and paste content from privkey.pem, then save.
service vesta restart
If it fails again, paste me again last 10 lines from /var/log/roundcube/errors
Last edited by dpeca on Sun Feb 14, 2016 3:31 pm, edited 2 times in total.
Re: Impossible to change email user password from Rouncube
Actually, you can not get SSL for mydomain.com if that domain is avaiable only in your localhost :)
I will try now to check if driver/vesta.php can be changed to ignore self-signed SSL error.
Stay on...
I will try now to check if driver/vesta.php can be changed to ignore self-signed SSL error.
Stay on...
Re: Impossible to change email user password from Rouncube
Solved.
If you do next steps you don't need regular SSL.
1. Open: /usr/share/roundcube/plugins/password/drivers/vesta.php
2. Find line: $fp = fsockopen('ssl://' . $vesta_host, $vesta_port);
3. Delete that line
4. On that place paste:
5. Save the file.
That's it.
If you do next steps you don't need regular SSL.
1. Open: /usr/share/roundcube/plugins/password/drivers/vesta.php
2. Find line: $fp = fsockopen('ssl://' . $vesta_host, $vesta_port);
3. Delete that line
4. On that place paste:
Code: Select all
$errno = "";
$errstr = "";
$context = stream_context_create();
$result = stream_context_set_option($context, 'ssl', 'verify_peer', false);
$result = stream_context_set_option($context, 'ssl', 'verify_host', false);
$result = stream_context_set_option($context, 'ssl', 'allow_self_signed', true);
$fp = stream_socket_client('ssl://' . $vesta_host . ':'.$vesta_port, $errno, $errstr, 60, STREAM_CLIENT_CONNECT, $context);
That's it.
Re: Impossible to change email user password from Rouncube
viewtopic.php?f=12&t=10114&p=39648#p38630
Try this fix.. let's continue in that topic.
Try this fix.. let's continue in that topic.