IT개발

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

xground 2020. 1. 14. 19:03
반응형

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

 

반응형