Skip to content

Certificate error when downloading ISO (keystore not set up correctly) #9086

@salfers

Description

@salfers
ISSUE TYPE
  • Bug Report
COMPONENT NAME
System VM?
CLOUDSTACK VERSION
CloudStack 4.19.0.1
14a42b786e681e2dd52fdd43b4a30c3d8fac96a7
CONFIGURATION

Nothing relevant as far as I can see.

OS / ENVIRONMENT

Alma Linux 9.3 x86_64

SUMMARY

Adding ISO files from HTTPS URLs does not work and the UI shows a certificate error.

There have apparently been similar issues in the past (#2541) that were patched manually but my guess here is that the Java certificate store is not set up correctly.

STEPS TO REPRODUCE

Go to Images > ISOs and create a new ISO with URL https://download.opensuse.org/distribution/leap/15.5/iso/openSUSE-Leap-15.5-NET-x86_64-Media.iso

EXPECTED RESULTS

ISO is correctly downloaded

ACTUAL RESULTS

Shows a DOWNLOAD_ERROR and this text:

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions