Why do I receive a PKIX error when installing the RTL-SDR Support Package?

조회 수: 2 (최근 30일)
I have a MATLAB R2016a installed on my Mac running macOS 10.11.4. When I try to install the RTL-SDR Support Package, why do I encounter this error in the Support Package Installer window:
ERROR: Download Failed: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 5월 19일
편집: MathWorks Support Team 2021년 5월 19일
The Java version that MATLAB uses does not recognize the SSL Certificate Authority for the https://www.freedesktop.org/wiki/Software/pkg-config/  website as a legitimate Certificate Authority.
However, the pkg-config source code can still be downloaded using a web browser (e.g. Safari). The following workaround will let you download and install the RTL-SDR Support Package successfully.
For
MATLAB R2016a
, follow these steps:
  1. Go through all steps for installing the RTL-SDR Support Package until getting the error message mentioned.
  2. In Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download, a few xml files should now appear.
  3. Find the file whose name starts with pkgconfig_version_maci64.xml. The file to be downloaded is specified between xml tags "downloadUrl" ... "/downloadUrl" in the xml file.
  4. Download pkg-config manually using a web browser from https://www.freedesktop.org/wiki/Software/pkg-config/ .
  5. Save the .gz file in Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download.
  6. Redo step 1.
For MATLAB R2016b, follow these steps:
  1. Go through all steps for installing the RTL-SDR Support Package until getting the error message mentioned.
  2. In Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download, a few xml files should now appear.
  3. Find the file whose name starts with pkgconfig_version_maci64.xml. The file to be downloaded is specified between xml tags "downloadUrl" ... "/downloadUrl" in the xml file.
  4. Download pkg-config manually using a web browser from http://downloads.sourceforge.net/project/pkgconfiglite/0.28-1/pkg-config-lite-0.28-1.tar.gz.
  5. Save the .gz file in Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download.
  6. Redo step 1.
These steps should resolve the issue.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by