fs pbx new installation

willy Lafort

New Member
Mar 5, 2017
8
0
1
65
Hello;
I need some help with new install of FS PBX... I'm confused about password.. for new user.. I can't add password for new user the field seem to be read only. Am I missing something?
Reseting dehault password not getting me anywhere even after I setup email in .env file
 
Hi @willy Lafort. After configuring your email settings in the .env file, you can create new users and click the password reset button. It will email the link with login instructions.
 
Thank you for the reply, my issues is with the outgoing smtp, I think it check for certificate validation, I am using and email created in ispconfig email server. In fusionpbx that can always be switched off and email notification works without any issues, but in fspbx I don't see where .... even if I also setup the smtp in (Advance -Default setting-email), I don't think fspbx is even reading that file.
 
Yes, the old fusion settings will be removed in future versions. They are no longer used. The official way to set up email in FS PBX is via the .env file.

Can you follow the troubleshooting steps in this article, tail the main log, and then try sending an email to see what shows up as an error? Maybe it will shed some light.

 
The error I kept on getting " Something went wrong trying to send the reset link"
and my log show this:
Checking email challenge enabled status...
[2026-05-27 02:04:56] production.DEBUG: Forgot password error: An email must have a "From" or a "Sender" header. at /var/www/fspbx/vendor/symfony/mime/Message.php:138

checked that file in question and seem to be ok.
 
What this means is that you didn't fill
Code:
MAIL_FROM_ADDRESS
MAIL_FROM_NAME


In the .env file.

Once you do you need to run
Code:
php artisan config:cache
and then try sending email again.
 
Hello;
I really appreciate your help.
The problem is certificate verification, in fusionpbx that can be disable, in advance ->default settting ->email....

Smtp Validate Certificate​

and the same setting in fspbx are not being used anymore
maybe There is someplace in .env it can be added or maybe it is located in a different file
 
Can you send me the exact error from the log so I can investigate and find a solution? I'm pretty sure this can be done.
 
The one you sent earlier had nothing to do with the certificate, as I've seen it many times on various systems. So if you have a new error, please post it here.
 
2026-05-27 15:36:12] production.DEBUG: Forgot password mail transport error: Unable to connect with STARTTLS: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed at /var/www/fspbx/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:171
[2026-05-27 15:38:33] production.DEBUG: Forgot password mail transport error: Connection could not be established with host "ssl://isc.*****.com:465": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed at /var/www/fspbx/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:154
....................................................
I use ssl instead of tls because ispconfig emails seem to work better on debian SMTP or MSMTP but outlook and other email client prefer tls

.ENV

MAIL_MAILER=smtp
MAIL_HOST=isc.******.com
MAIL_PORT=465
MAIL_USERNAME=noreply@*****.com
MAIL_PASSWORD=i***********
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=noreply@*****.com
MAIL_FROM_NAME="FS PBX"
MAIL_REPLY_TO_ADDRESS=
MAIL_REPLY_TO_NAME="${APP_NAME}"

The email in question (noreply@.........com), works on any email client
 
Hang on. I'll push the update, and you'll be able to configure to bypass certificate validation.