A package of ca-certificate is not installed correctly at the cywin64 on the Windows8. It seems that a postinstall script is not work. This causes by broken p11-kit, maybe.

kou1okada mail4devel+cygwin@gmail.com
Mon Jan 20 11:39:00 GMT 2014


I installed the cygwin64 to Windows8 by "setup-x86_64" with only 2
optional packages of wget and ca-certificates.
The setup-x86.exe that I used as below:
$ ls -lnG setup-x86_64.exe
-rwxr-xr-x+ 1 1001 785408 Nov 17 14:29 setup-x86_64.exe
$ md5sum setup-x86_64.exe
8af4ebec4db7237c43322cc0b2cec153 *setup-x86_64.exe

But, wget can not verify SSL certification.
Of course, I know that wget and ca-certificates at x86 version of the
cygwin has a problem. That requires additional settings for wget as
below but I also know that these settings is not required for x86_64
version cygwin.
---------------------------------------------------------------
# wget on cygwin32 needs to use ca-certificates with:

# 1. Create symbolic link for the default ca-directory of wget.
ln -s /usr/ssl /etc/

# or
# 2. Set ca-directory paramete in '/etc/wgetrc'.
echo "ca-directory = /usr/ssl/certs" >> /etc/wgetrc

# or
# 3. Set ca-directory paramete in '~/.wgetrc'.
echo "ca-directory = /usr/ssl/certs" >> ~/.wgetrc
---------------------------------------------------------------

It seems that the postinstall script of ca-certificate is not work.
"/etc/postinstall/ca-certificates.sh.done" calls
"/usr/bin/update-ca-trust" and "update-ca-truct" calls
"/usr/bin/p11-kit".
So, I checked "p11-kit" with "strace" command, and I found that it
abort with segmentation fault.

For details, please see attachment of this mail.
Thanks.

---------
kou1okada
https://github.com/kou1okada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin.log
Type: application/octet-stream
Size: 78119 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140120/791578fc/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list