Skip to content
logo
Percona Platform
User not using SSL protocol to connect
Initializing search
    portal-doc
    portal-doc
    • Welcome
    • What's new
    • Registration and log in
    • Create and manage organizations
    • Check activity logs
    • Connect your PMM server
    • Advisor checks for PMM
    • Launch PMM environment
    • Network configuration
      • Copyright and licensing information
      • Trademark policy
    • Description
    • Resolution
    • Need more support from Percona?

    User not using SSL protocol to connect¶

    Description¶

    When MySQL server is configured with SSL, users can still connect to the server using --ssl-mode=disabled.

    In this case, the connection will not be encrypted and data will be subject to sniffing.

    When using SSL, it is recommended to enforce it for all users.

    Resolution¶

    To prevent users from connecting using an insecure protocol, you can act at instance-level:

    [mysqld]
    require_secure_transport=ON
    

    Or when creating the user:

    CREATE USER 'jeffrey'@'localhost' REQUIRE SSL;

    Need more support from Percona?¶

    Subscribe to Percona Platform to get database support with guaranteed SLAs or proactive database management services from the Percona team.

    Learn more

    Contact us

    For free technical help, visit the Percona Community Forum.

    To report bugs or submit feature requests, open a JIRA ticket.

    For paid support and managed or consulting services , contact Percona Sales.

    2024-03-08
    Percona LLC and/or its affiliates, © 2024 Cookie Preferences
    Made with Material for MkDocs