본문 바로가기
IT개발

[Errno 14] curl#35 - "Peer reports incompatible or unsupported protocol version."

by xground 2020. 1. 14.
반응형

postgresql9.6을 서버에 설치할려고 하니, 

sudo yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

 

아래와 같은 에러가 나온다.

Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Cannot open: https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm. Skipping.
Error: Nothing to do

 

엄한, Subscription Management 만 찾아보고 있었다.

 

url의 https => http 로 변경하니 설치가 가능하네 ???

 

하지만, 그 후 아래의 오류가 나온다.

https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7Server-x86_64/repodata/repomd.xml: [Errno 14] curl#35 - "Peer reports incompatible or unsupported protocol version." 

 

한참 찾아보니, `curl`에 이슈가 있었다.

cURL SSL에서 old/vulnerable NSS를 사용하는 경우에 이슈가 있는 것으로 보인데,

해결법은 curl nss 를 업데이트함으로 해결 되었다.

 

yum update curl nss
yum update curl nss nss-util nspr

 

반응형

'IT개발' 카테고리의 다른 글

nginx 사용하기 1  (0) 2020.09.26
Opensource license 정리  (0) 2020.09.18
google driver  (0) 2020.01.13
소나큐브 (sonarqube) 다운로드, 설치, 실행  (0) 2019.12.24

댓글