Skip to content

Add negative test to verify fail to fetch the file resource with non-FIPS algorithms #4520

@HuijingHei

Description

@HuijingHei

According to #4477 (comment), #4477 (comment), #4477 (comment)

When testing this, we do not need both the client & server to be FIPS enabled to have a valid TLS connection, just care about the part you control to be in FIPS mode.

PR #4373 (enable FIPS on client) covers the test that Ignition config fetch file from the FIPS-compliant nginx, we need to add a negative test, that verifies that attempting to use algorithms that aren't FIPS compliant nginx will make the connection fail.

The steps are:

  • On server side (none FIPS):

Build nginx container, add ssl_ecdh_curve X25519 in nginx.conf, that means: When a client connects, I want to use the X25519 curve to negotiate the encryption keys (that is none FIPS-compliant).
Run nginx

  • On client (enable FIPS):
    Start with FIPS enabled, use ignition to fetch file from server failed

See the details in https://hackmd.io/6KV-LsE3QReu34nQQOgruA?view

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions