Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] ftp_ssl_connect peer-verification #1824

Open
kronthto opened this issue Oct 24, 2024 · 0 comments
Open

[docs] ftp_ssl_connect peer-verification #1824

kronthto opened this issue Oct 24, 2024 · 0 comments

Comments

@kronthto
Copy link

php.net has updated their documentation to state the fact that their function does not validate the certificate used in the SSL connection. php/doc-en#3915

$connection = $ssl ? @ftp_ssl_connect($host, $port, $timeout) : @ftp_connect($host, $port, $timeout);

The docs of this project are regarding SSL are sparse, merely advertising that the option exists.
I'm opening this issue to bring this fact to attention, as an user I assumed that 'ssl' => true is a "secure by default" option, which is not the case, so maybe this should at least be noted until an updated implementation becomes available.

(The PHP team was OK with handling this issue in public issuetrackers.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant