Share Files via Email Error

Hello, when I try to share a file via email link i see this error in the log file. But I do get the email and the temp password. Only issue is that this error comes when sharing the file. Can someone please help?

fgets(): SSL operation failed with code 1. OpenSSL Error messages: error:0906D06C:PEM routines:PEM_read_bio:no start line error:0906D06C:PEM routines:PEM_read_bio:no start line error:0906D06C:PEM routines:PEM_read_bio:no start line at /var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php#163

@JasonBayton would you happen to know anything on the above request?

OpenSSL error could suggest your SSL may be misconfigured.

What does the output from running the test here say?
https://www.sslshopper.com/ssl-checker.html

Or perhaps
https://www.ssllabs.com/ssltest/

cc @nickvergessen @tflidd as I’m not familiar with how the share by email backend functions and could be limited to that rather than site-wide SSL.

What do your Apache error logs state, if anything?

dont see an errors on the two sites that you sent me. I’ll look at the logs

For me it is not clear if this is a webserver certificate issue or with the mailer. Are you using SMTP via SSL? With swiftmail there is a known issue if you enforce TLS > 1.0: https://github.com/nextcloud/server/issues/7421

1 Like