Skip to content

Trustmanager initialization exception are logged and not propogated #522

@arvindn05

Description

@arvindn05

Description

As part of the X509TrustManagerFactory constructor, we are loading the trust manager and the trust store.

In case the trust store is not accessible or missing, we just log the error and don't propagate it out.

Need to look at this behavior for possible security issues

Expected Behavior

Propogate the exception and fail the startup/task as appropriate

Actual Behavior

Exception is logged and silenced

Steps to Reproduce

Run junit test for VSConformanceCheckMetaTaskTest

Additional Information

Environment

  • OSC Version/Build: 1.0.0-SNAPSHOT (Build:96-g448bc3a

Status

  • Reproduced
  • In Progress
  • Validated => Verified in Version/Build:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions