hns - 日記自動生成システム - Version 2.19.9

先月 2013年11月 来月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2013年11月27日(水) 旧暦 [n年日記] [更新:"2013/11/29 00:38:02"]

#1 [pkgsrc] ld: cannot find -lperl

wip lldpd-0.77
  CCLD     lldpd
ld: cannot find -lperl

#2 [pkgsrc] trustedQSL

Sign a log and upload it automatically to LoTW:
/home/makoto/ham-radio/contest/2013-cq-ww-cw-160m.LOG:
Couldn't upload the file: CURL returned 
"Peer certificate cannot be authenticated with given CA certificates"
(SSL certificate problem: self signed certificate in certificate chain)
Is this because /etc/openssl/certs empty ? 20728 20729 20730
curl -v https://lotw.arrl.org/
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/openssl/certs
...
* Closing connection 0
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html
20734
dfly36@makoto 12:09:58/131128(..devel/libusb1)% openssl s_client -connect lotw.arrl.org:443
CONNECTED(00000004)
depth=2 C = US, O = "The Go Daddy Group, Inc.", OU = Go Daddy Class 2 Certification Authority
verify error:num=19:self signed certificate in certificate chain
verify return:0
---
Certificate chain
...
I believe so. The remedy is explained in following page:

Number one from above:
Following patch doesn't make it.
(2) Couldn't upload the file: CURL returned 
"Peer certificate cannot be authenticated with given CA certificates" 
(SSL certificate problem: self signed certificate in certificate chain)

--- apps/tqsl.cpp.orig	2013-10-21 09:33:20.000000000 +0900
+++ apps/tqsl.cpp	2013-11-28 19:14:48.000000000 +0900
@@ -2084,6 +2084,9 @@ tqsl_curl_init(const char *logTitle, con
 	//set up options
 	curl_easy_setopt(req, CURLOPT_URL, url);
 
+#if 1  //def NO_VERYFYPEER	
+	curl_easy_setopt(req, CURLOPT_SSL_VERIFYPEER, FALSE);
+#endif
 	// Get the proxy configuration and pass it to cURL
         wxConfig *config = (wxConfig *)wxConfig::Get();
         config->SetPath(wxT("/Proxy"));

Additional following patch makes it:

--- apps/tqsl.cpp.orig	2013-10-21 09:33:20.000000000 +0900
+++ apps/tqsl.cpp	2013-11-28 23:50:29.000000000 +0900
@@ -2154,7 +2157,9 @@ retry_upload:
 
 	curl_easy_setopt(req, CURLOPT_WRITEFUNCTION, &FileUploadHandler::recv);
 	curl_easy_setopt(req, CURLOPT_WRITEDATA, &handler);
+#if 0
 	curl_easy_setopt(req, CURLOPT_SSL_VERIFYPEER, uplVerifyCA);
+#endif
 
 	char errorbuf[CURL_ERROR_SIZE];
 	curl_easy_setopt(req, CURLOPT_ERRORBUFFER, errorbuf);



最近の日記
2023年02月04日
mount iso
2023年01月29日
CHROOT
2023年01月14日
It took 16 hours to compile libreoffice-7.4.1.2nb3 on CF-SX2
2023年01月02日
東京国立博物館に初詣
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)