Chaining cerificate with openssl

hello seniors,
i am really stuck and am running out of time to finish my project on time. i need a certificates chain which i am using openssl to create it but i never can sign a certificate request by my CA. i use below commands:
1- Create a Certificate Authority private key (this is your most important key):
openssl req -new -newkey rsa:1024 -nodes -out ca.csr -keyout ca.key
2- Create your CA self-signed certificate:
openssl x509 -trustout -signkey ca.key -days 365 -req -in ca.csr -out ca.pem
3- Issue a client certificate by first generating the key, then request (or use one provided by external system) then sign the certificate using private key of your CA:
openssl genrsa -out client.key 1024
openssl req -new -key client.key -out client.csr
all above works fine but following last command produced the errors listed.
openssl ca -in client.csr -out client.cer
by the way, i have included "private_key = $dir/private/cakey.pem" in my configuration file.
6072:error:02001003:system library:fopen:No such process:./crypto/bio/bss_file.c:126:fopen('/usr/local/ssl/openssl.cnf','rb')
6072:error:2006D080:BIO routines:BIO_new_file:no such file:./crypto/bio/bss_file.c:129:
6072:error:0E078072:configuration file routines:DEF_LOAD:no such file:./crypto/conf/conf_def.c:197:
unable to write 'random state'
any help is much appreciated.
Regards
Reza

hello seniors,
i am really stuck and am running out of time to finish my project on time. i need a certificates chain which i am using openssl to create it but i never can sign a certificate request by my CA. i use below commands:
1- Create a Certificate Authority private key (this is your most important key):
openssl req -new -newkey rsa:1024 -nodes -out ca.csr -keyout ca.key
2- Create your CA self-signed certificate:
openssl x509 -trustout -signkey ca.key -days 365 -req -in ca.csr -out ca.pem
3- Issue a client certificate by first generating the key, then request (or use one provided by external system) then sign the certificate using private key of your CA:
openssl genrsa -out client.key 1024
openssl req -new -key client.key -out client.csr
all above works fine but following last command produced the errors listed.
openssl ca -in client.csr -out client.cer
by the way, i have included "private_key = $dir/private/cakey.pem" in my configuration file.
6072:error:02001003:system library:fopen:No such process:./crypto/bio/bss_file.c:126:fopen('/usr/local/ssl/openssl.cnf','rb')
6072:error:2006D080:BIO routines:BIO_new_file:no such file:./crypto/bio/bss_file.c:129:
6072:error:0E078072:configuration file routines:DEF_LOAD:no such file:./crypto/conf/conf_def.c:197:
unable to write 'random state'
any help is much appreciated.
Regards
Reza

Similar Messages

  • [SOLVED] Problem building php 5.3 with openssl

    Hi,
    I stuck with this issue and don't really know what's wrong and what to do:
    $ pacman -Qs openssl
    local/lib32-openssl 1.0.1.i-1
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (32-bit)
    local/openssl 1.0.1.i-1
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
    $ ./configure --with-openssl && make
    loading cache ./config.cache
    checking for Cygwin environment... (cached) no
    checking for mingw32 environment... (cached) no
    checking for egrep... (cached) grep -E
    checking for a sed that does not truncate output... (cached) /usr/bin/sed
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking how to run the C preprocessor... (cached) gcc -E
    checking for icc... no
    checking for suncc... no
    checking whether gcc and cc understand -c and -o together... (cached) yes
    checking how to run the C preprocessor... gcc -E
    checking for AIX... no
    checking whether ln -s works... (cached) yes
    checking for system library directory... lib
    checking whether to enable runpaths... yes
    checking if compiler supports -R... (cached) no
    checking if compiler supports -Wl,-rpath,... (cached) yes
    checking for gawk... (cached) gawk
    checking for bison... (cached) bison -y
    checking for bison version... (cached) 2.6.4 (ok)
    checking for re2c... (cached) re2c
    checking for re2c version... (cached) 0.13.7.5 (ok)
    checking whether to enable computed goto gcc extension with re2c... no
    checking whether to force non-PIC code in shared modules... no
    checking whether /dev/urandom exists... yes
    checking for pthreads_cflags... (cached) -pthread
    checking for pthreads_lib... (cached)
    [1mConfiguring SAPI modules[m
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS... no
    checking for Apache 1.x module support... no
    checking whether to enable Apache charset compatibility option... no
    checking for Apache 2.0 filter-module support via DSO through APXS... no
    checking for Apache 2.0 handler-module support via DSO through APXS... no
    checking for Apache 1.x (hooks) module support via DSO through APXS... no
    checking for Apache 1.x (hooks) module support... no
    checking whether to enable Apache charset compatibility option... no
    checking for Caudium support... no
    checking for CLI build... yes
    checking for Continuity support... no
    checking for embedded SAPI library support... no
    checking for FPM build... no
    checking for Zeus ISAPI support... no
    checking for LiteSpeed support... no
    checking for Milter support... no
    checking for NSAPI support... no
    checking for PHTTPD support... no
    checking for Pi3Web support... no
    checking whether Roxen module is build using ZTS... no
    checking for Roxen/Pike support...
    checking for thttpd... no
    checking for TUX... no
    checking for webjames... no
    checking whether to build CGI binary... yes
    checking for socklen_t in sys/socket.h... yes
    checking for sun_len in sys/un.h... no
    checking whether cross-process locking is required by accept()... no
    checking for chosen SAPI module... cgi
    [1mRunning system checks[m
    checking for sendmail... no
    checking whether system uses EBCDIC... (cached) no
    checking whether byte ordering is bigendian... (cached) no
    checking whether writing to stdout works... (cached) yes
    checking for socket... yes
    checking for socketpair... yes
    checking for htonl... yes
    checking for gethostname... yes
    checking for gethostbyaddr... yes
    checking for yp_get_default_domain... no
    checking for __yp_get_default_domain... no
    checking for yp_get_default_domain in -lnsl... yes
    checking for dlopen... no
    checking for __dlopen... no
    checking for dlopen in -ldl... yes
    checking for sin in -lm... (cached) yes
    checking for inet_aton... yes
    checking for ANSI C header files... (cached) yes
    checking for dirent.h that defines DIR... (cached) yes
    checking for opendir in -ldir... (cached) no
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for dirent.h... (cached) yes
    checking for ApplicationServices/ApplicationServices.h... (cached) no
    checking for sys/param.h... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking for netinet/in.h... (cached) yes
    checking for alloca.h... (cached) yes
    checking for arpa/inet.h... (cached) yes
    checking for arpa/nameser.h... (cached) yes
    checking for assert.h... (cached) yes
    checking for crypt.h... (cached) yes
    checking for dns.h... (cached) no
    checking for fcntl.h... (cached) yes
    checking for grp.h... (cached) yes
    checking for ieeefp.h... (cached) no
    checking for langinfo.h... (cached) yes
    checking for limits.h... (cached) yes
    checking for locale.h... (cached) yes
    checking for monetary.h... (cached) yes
    checking for netdb.h... (cached) yes
    checking for pwd.h... (cached) yes
    checking for resolv.h... (cached) yes
    checking for signal.h... (cached) yes
    checking for stdarg.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for syslog.h... (cached) yes
    checking for sysexits.h... (cached) yes
    checking for sys/ioctl.h... (cached) yes
    checking for sys/file.h... (cached) yes
    checking for sys/mman.h... (cached) yes
    checking for sys/mount.h... (cached) yes
    checking for sys/poll.h... (cached) yes
    checking for sys/resource.h... (cached) yes
    checking for sys/select.h... (cached) yes
    checking for sys/socket.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for sys/statfs.h... (cached) yes
    checking for sys/statvfs.h... (cached) yes
    checking for sys/vfs.h... (cached) yes
    checking for sys/sysexits.h... (cached) no
    checking for sys/varargs.h... (cached) no
    checking for sys/wait.h... (cached) yes
    checking for sys/loadavg.h... (cached) no
    checking for termios.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for unix.h... (cached) no
    checking for utime.h... (cached) yes
    checking for sys/utsname.h... (cached) yes
    checking for sys/ipc.h... (cached) yes
    checking for dlfcn.h... (cached) yes
    checking for assert.h... (cached) yes
    checking for fopencookie... (cached) yes
    checking for broken getcwd... no
    checking for broken libc stdio... (cached) yes
    checking whether struct tm is in sys/time.h or time.h... (cached) time.h
    checking for tm_zone in struct tm... (cached) yes
    checking for missing declarations of reentrant functions... done
    checking for fclose declaration... ok
    checking for tm_gmtoff in struct tm... (cached) yes
    checking for struct flock... (cached) yes
    checking for socklen_t... (cached) yes
    checking size of size_t... (cached) 8
    checking size of long long... (cached) 8
    checking size of long long int... (cached) 8
    checking size of long... (cached) 8
    checking size of int... (cached) 4
    checking size of intmax_t... (cached) 8
    checking size of ssize_t... (cached) 8
    checking size of ptrdiff_t... (cached) 8
    checking for st_blksize in struct stat... (cached) yes
    checking for st_blocks in struct stat... (cached) yes
    checking for st_rdev in struct stat... (cached) yes
    checking for size_t... (cached) yes
    checking for uid_t in sys/types.h... (cached) yes
    checking for struct sockaddr_storage... (cached) yes
    checking for field sa_len in struct sockaddr... (cached) no
    checking for IPv6 support... (cached) yes
    checking for vprintf... (cached) yes
    checking for alphasort... (cached) yes
    checking for asctime_r... (cached) yes
    checking for chroot... (cached) yes
    checking for ctime_r... (cached) yes
    checking for cuserid... (cached) yes
    checking for crypt... (cached) no
    checking for flock... (cached) yes
    checking for ftok... (cached) yes
    checking for funopen... (cached) no
    checking for gai_strerror... (cached) yes
    checking for gcvt... (cached) yes
    checking for getloadavg... (cached) yes
    checking for getlogin... (cached) yes
    checking for getprotobyname... (cached) yes
    checking for getprotobynumber... (cached) yes
    checking for getservbyname... (cached) yes
    checking for getservbyport... (cached) yes
    checking for gethostname... (cached) yes
    checking for getrusage... (cached) yes
    checking for gettimeofday... (cached) yes
    checking for gmtime_r... (cached) yes
    checking for getpwnam_r... (cached) yes
    checking for getgrnam_r... (cached) yes
    checking for getpwuid_r... (cached) yes
    checking for grantpt... (cached) yes
    checking for inet_ntoa... (cached) yes
    checking for inet_ntop... (cached) yes
    checking for inet_pton... (cached) yes
    checking for isascii... (cached) yes
    checking for link... (cached) yes
    checking for localtime_r... (cached) yes
    checking for lockf... (cached) yes
    checking for lchown... (cached) yes
    checking for lrand48... (cached) yes
    checking for memcpy... (cached) yes
    checking for memmove... (cached) yes
    checking for mkstemp... (cached) yes
    checking for mmap... (cached) yes
    checking for nl_langinfo... (cached) yes
    checking for perror... (cached) yes
    checking for poll... (cached) yes
    checking for ptsname... (cached) yes
    checking for putenv... (cached) yes
    checking for realpath... (cached) yes
    checking for random... (cached) yes
    checking for rand_r... (cached) yes
    checking for scandir... (cached) yes
    checking for setitimer... (cached) yes
    checking for setlocale... (cached) yes
    checking for localeconv... (cached) yes
    checking for setenv... (cached) yes
    checking for setpgid... (cached) yes
    checking for setsockopt... (cached) yes
    checking for setvbuf... (cached) yes
    checking for shutdown... (cached) yes
    checking for sin... (cached) yes
    checking for snprintf... (cached) yes
    checking for srand48... (cached) yes
    checking for srandom... (cached) yes
    checking for statfs... (cached) yes
    checking for statvfs... (cached) yes
    checking for std_syslog... (cached) no
    checking for strcasecmp... (cached) yes
    checking for strcoll... (cached) yes
    checking for strdup... (cached) yes
    checking for strerror... (cached) yes
    checking for strftime... (cached) yes
    checking for strnlen... (cached) yes
    checking for strptime... (cached) yes
    checking for strstr... (cached) yes
    checking for strtok_r... (cached) yes
    checking for symlink... (cached) yes
    checking for tempnam... (cached) yes
    checking for tzset... (cached) yes
    checking for unlockpt... (cached) yes
    checking for unsetenv... (cached) yes
    checking for usleep... (cached) yes
    checking for utime... (cached) yes
    checking for vsnprintf... (cached) yes
    checking for vasprintf... (cached) yes
    checking for asprintf... (cached) yes
    checking for nanosleep... (cached) yes
    checking for nanosleep in -lrt... yes
    checking for getaddrinfo... (cached) yes
    checking for __sync_fetch_and_add... (cached) yes
    checking for strlcat... (cached) no
    checking for strlcpy... (cached) no
    checking for getopt... (cached) yes
    checking whether utime accepts a null argument... (cached) yes
    checking for working alloca.h... (cached) yes
    checking for alloca... (cached) yes
    checking for declared timezone... (cached) yes
    checking for type of reentrant time-related functions... (cached) POSIX
    checking for readdir_r... (cached) yes
    checking for type of readdir_r... (cached) POSIX
    checking for in_addr_t... (cached) yes
    checking for crypt_r... (cached) no
    [1mGeneral settings[m
    checking whether to include gcov symbols... no
    checking whether to include debugging symbols... no
    checking layout of installed files... PHP
    checking path to configuration file... DEFAULT
    checking where to scan for configuration files...
    checking whether to enable safe mode by default... no
    checking for safe mode exec dir... /usr/local/php/bin
    checking whether to enable PHP's own SIGCHLD handler... no
    checking whether to enable magic quotes by default... no
    checking whether to explicitly link against libgcc... no
    checking whether to enable short tags by default... yes
    checking whether to enable dmalloc... no
    checking whether to enable IPv6 support... yes
    checking how big to make fd sets... using system default
    [1mConfiguring extensions[m
    checking size of long... (cached) 8
    checking size of int... (cached) 4
    checking for int32_t... (cached) yes
    checking for uint32_t... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for string.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for strtoll... (cached) yes
    checking for atoll... (cached) yes
    checking for strftime... (cached) yes
    checking which regex library to use... php
    checking whether to enable LIBXML support... yes
    checking libxml2 install dir... no
    checking for xml2-config path... (cached) /usr/bin/xml2-config
    checking whether libxml build works... (cached) yes
    checking for OpenSSL support... yes
    checking for Kerberos support... no
    checking for DSA_get_default_method in -lssl... (cached) no
    checking for X509_free in -lcrypto... (cached) yes
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking for PCRE library to use... bundled
    checking whether to enable the SQLite3 extension... yes
    checking bundled sqlite3 library... yes
    checking for ZLIB support... no
    checking if the location of ZLIB install directory is defined... no
    checking whether to enable bc style precision math functions... no
    checking for BZip2 support... no
    checking whether to enable calendar conversion support... no
    checking whether to enable ctype functions... yes
    checking for cURL support... no
    checking if we should use cURL for url streams... no
    checking for QDBM support... no
    checking for GDBM support... no
    checking for NDBM support... no
    checking for Berkeley DB4 support... no
    checking for Berkeley DB3 support... no
    checking for Berkeley DB2 support... no
    checking for DB1 support... no
    checking for DBM support... no
    checking for CDB support... no
    checking for INI File support... no
    checking for FlatFile support... no
    checking whether to enable DBA interface... no
    checking whether to enable DOM support... yes
    checking for xml2-config path... (cached) /usr/bin/xml2-config
    checking whether libxml build works... (cached) yes
    checking for ENCHANT support... no
    checking whether to enable EXIF (metadata from images) support... no
    checking for fileinfo support... yes
    checking for utimes... (cached) yes
    checking for strndup... (cached) yes
    checking whether to enable input filter support... yes
    checking pcre install prefix... no
    checking whether to enable FTP support... no
    checking OpenSSL dir for FTP... no
    checking for GD support... no
    checking for the location of libjpeg... no
    checking for the location of libpng... no
    checking for the location of libXpm... no
    checking for FreeType 2... no
    checking for T1lib support... no
    checking whether to enable truetype string function in GD... no
    checking whether to enable JIS-mapped Japanese font support in GD... no
    checking for GNU gettext support... no
    checking for GNU MP support... no
    checking for mhash support... no
    checking whether to enable hash support... yes
    checking whether byte ordering is bigendian... (cached) no
    checking size of short... (cached) 2
    checking size of int... (cached) 4
    checking size of long... (cached) 8
    checking size of long long... (cached) 8
    checking for iconv support... yes
    checking for iconv... (cached) yes
    checking if iconv is glibc's... yes
    checking if iconv supports errno... yes
    checking if your cpp allows macro usage in include lines... yes
    checking for IMAP support... no
    checking for IMAP Kerberos support... no
    checking for IMAP SSL support... no
    checking for InterBase support... no
    checking whether to enable internationalization support... no
    checking whether to enable JavaScript Object Serialization support... yes
    checking for ANSI C header files... (cached) yes
    checking for LDAP support... no
    checking for LDAP Cyrus SASL support... no
    checking whether to enable multibyte string support... no
    checking whether to enable multibyte regex support... yes
    checking whether to check multibyte regex backtrack... yes
    checking for external libmbfl... no
    checking for external oniguruma... no
    checking for mcrypt support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... no
    checking for specified location of the MySQL UNIX socket... no
    checking for MySQLi support... no
    checking whether to enable embedded MySQLi support... no
    checking for Oracle Database OCI8 support... no
    checking whether to enable pcntl support... no
    checking whether to enable PDO support... yes
    checking for PDO_DBLIB support via FreeTDS... no
    checking for Firebird support for PDO... no
    checking for MySQL support for PDO... no
    checking Oracle OCI support for PDO... no
    checking for ODBC v3 support for PDO... no
    checking for PostgreSQL support for PDO... no
    checking for sqlite 3 support for PDO... yes
    checking for PDO includes... checking for PDO includes... /home/yuri/_/php-5.3.29/ext
    checking for usleep... (cached) yes
    checking for nanosleep... (cached) yes
    checking for time.h... (cached) yes
    checking for fdatasync in -lrt... (cached) yes
    checking for PostgreSQL support... no
    checking for phar archive support... yes
    checking for phar openssl support... yes
    checking whether to enable POSIX-like functions... yes
    checking for sys/mkdev.h... (cached) no
    checking for seteuid... (cached) yes
    checking for setegid... (cached) yes
    checking for setsid... (cached) yes
    checking for getsid... (cached) yes
    checking for setpgid... (cached) yes
    checking for getpgid... (cached) yes
    checking for ctermid... (cached) yes
    checking for mkfifo... (cached) yes
    checking for mknod... (cached) yes
    checking for getrlimit... (cached) yes
    checking for getlogin... (cached) yes
    checking for getgroups... (cached) yes
    checking for makedev... (cached) no
    checking for initgroups... (cached) yes
    checking for getpwuid_r... (cached) yes
    checking for getgrgid_r... (cached) yes
    checking for working ttyname_r() implementation... yes
    checking for utsname.domainname... (cached) yes
    checking for PSPELL support... no
    checking for libedit readline replacement... no
    checking for readline support... no
    checking for recode support... no
    checking whether to enable PHP sessions... yes
    checking for mm support... no
    checking whether pwrite works... (cached) yes
    checking whether pread works... (cached) yes
    checking whether to enable shmop support... no
    checking whether to enable SimpleXML support... yes
    checking for xml2-config path... (cached) /usr/bin/xml2-config
    checking whether libxml build works... (cached) yes
    checking for SNMP support... no
    checking OpenSSL dir for SNMP... no
    checking whether to enable UCD SNMP hack... no
    checking whether to enable SOAP support... no
    checking whether to enable sockets support... no
    checking whether zend_object_value is packed... no
    checking for sqlite support... yes
    checking whether to enable UTF-8 support in sqlite (default: ISO-8859-1)... no
    checking for PDO includes... (cached) /home/yuri/_/php-5.3.29/ext
    checking for lemon... (cached) lemon
    checking for lemon version... (cached) 1.0 (ok)
    checking size of char *... (cached) 8
    checking for usleep... (cached) yes
    checking for nanosleep... (cached) yes
    checking for time.h... (cached) yes
    checking whether flush should be called explicitly after a buffered io... (cached) no
    checking for crypt in -lcrypt... (cached) yes
    checking for standard DES crypt... (cached) yes
    checking for extended DES crypt... (cached) no
    checking for MD5 crypt... (cached) yes
    checking for Blowfish crypt... (cached) no
    checking for SHA512 crypt... (cached) no
    checking for SHA256 crypt... (cached) no
    checking whether the compiler supports __alignof__... (cached) yes
    checking whether the compiler supports aligned attribute... (cached) yes
    checking for getcwd... (cached) yes
    checking for getwd... (cached) yes
    checking for asinh... (cached) yes
    checking for acosh... (cached) yes
    checking for atanh... (cached) yes
    checking for log1p... (cached) yes
    checking for hypot... (cached) yes
    checking for glob... (cached) yes
    checking for strfmon... (cached) yes
    checking for nice... (cached) yes
    checking for fpclass... (cached) no
    checking for isinf... (cached) yes
    checking for isnan... (cached) yes
    checking for mempcpy... (cached) yes
    checking for strpncpy... (cached) no
    checking for working fnmatch... (cached) yes
    checking for fork... (cached) yes
    checking if your OS can spawn processes with inherited handles... yes
    checking for res_nsearch... no
    checking for __res_nsearch... no
    checking for res_nsearch in -lresolv... no
    checking for __res_nsearch in -lresolv... yes
    checking for dns_search... no
    checking for __dns_search... no
    checking for dns_search in -lresolv... no
    checking for __dns_search in -lresolv... no
    checking for dns_search in -lbind... no
    checking for __dns_search in -lbind... no
    checking for dns_search in -lsocket... no
    checking for __dns_search in -lsocket... no
    checking for dn_expand... no
    checking for __dn_expand... yes
    checking for dn_skipname... no
    checking for __dn_skipname... yes
    checking for res_search... no
    checking for __res_search... yes
    checking whether atof() accepts NAN... (cached) yes
    checking whether atof() accepts INF... (cached) yes
    checking whether HUGE_VAL == INF... (cached) yes
    checking whether HUGE_VAL + -HUGEVAL == NAN... (cached) yes
    checking whether strptime() declaration fails... (cached) no
    checking for wchar.h... (cached) yes
    checking for mblen... (cached) yes
    checking for mbrlen... (cached) yes
    checking for mbsinit... (cached) yes
    checking for mbstate_t... (cached) yes
    checking for atomic.h... (cached) no
    checking for Sybase-CT support... no
    checking whether to enable System V IPC support... no
    checking whether to enable System V semaphore support... no
    checking whether to enable System V shared memory support... no
    checking for TIDY support... no
    checking whether to enable tokenizer support... yes
    checking whether to enable WDDX support... no
    checking libexpat dir for WDDX... no
    checking whether to enable XML support... yes
    checking libexpat install dir... no
    checking for xml2-config path... (cached) /usr/bin/xml2-config
    checking whether libxml build works... (cached) yes
    checking whether to enable XMLReader support... yes
    checking for xml2-config path... (cached) /usr/bin/xml2-config
    checking whether libxml build works... (cached) yes
    checking for XMLRPC-EPI support... no
    checking libexpat dir for XMLRPC-EPI... no
    checking iconv dir for XMLRPC-EPI... no
    checking whether to enable XMLWriter support... yes
    checking for xml2-config path... (cached) /usr/bin/xml2-config
    checking whether libxml build works... (cached) yes
    checking for XSL support... no
    checking for zip archive read/writesupport... no
    checking pcre install prefix... no
    checking whether to enable mysqlnd... no
    checking whether to disable compressed protocol support in mysqlnd... yes
    [1mConfiguring PEAR[m
    checking whether to install PEAR... yes
    [1mConfiguring Zend[m
    checking for bison version... (cached) 2.6.4 (ok)
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for limits.h... (cached) yes
    checking for malloc.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for stdarg.h... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking for signal.h... (cached) yes
    checking for unix.h... (cached) no
    checking for stdlib.h... (cached) yes
    checking for dlfcn.h... (cached) yes
    checking for size_t... (cached) yes
    checking return type of signal handlers... (cached) void
    checking for uint... (cached) yes
    checking for ulong... (cached) yes
    checking for int32_t... yes
    checking for uint32_t... yes
    checking for vprintf... (cached) yes
    checking for 8-bit clean memcmp... (cached) yes
    checking for working alloca.h... (cached) yes
    checking for alloca... (cached) yes
    checking for memcpy... (cached) yes
    checking for strdup... (cached) yes
    checking for getpid... (cached) yes
    checking for kill... (cached) yes
    checking for strtod... (cached) yes
    checking for strtol... (cached) yes
    checking for finite... (cached) yes
    checking for fpclass... (cached) no
    checking for sigsetjmp... (cached) no
    checking whether sprintf is broken... (cached) no
    checking for finite... (cached) yes
    checking for isfinite... (cached) no
    checking for isinf... (cached) yes
    checking for isnan... (cached) yes
    checking whether fp_except is defined... (cached) no
    checking for usable _FPU_SETCW... yes
    checking for usable fpsetprec... no
    checking for usable _controlfp... no
    checking for usable _controlfp_s... no
    checking whether FPU control word can be manipulated by inline assembler... yes
    checking whether double cast to long preserves least significant bits... no
    checking for dlfcn.h... (cached) yes
    checking whether dlsym() requires a leading underscore in symbol names... no
    checking virtual machine dispatch method... CALL
    checking whether to enable thread-safety... no
    checking whether to enable inline optimization for GCC... yes
    checking whether to enable Zend debugging... no
    checking whether to enable Zend multibyte... no
    checking for inline... (cached) inline
    checking target system is Darwin... no
    checking for MM alignment and log values... done
    checking for memory allocation using mmap(MAP_ANON)... yes
    checking for memory allocation using mmap(/dev/zero)... yes
    checking for mremap... (cached) yes
    [1mConfiguring TSRM[m
    checking for stdarg.h... (cached) yes
    [1mConfiguring libtool[m
    checking build system type... x86_64-unknown-linux-gnu
    checking for ld used by gcc... (cached) /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
    checking for /usr/bin/ld option to reload object files... (cached) -r
    checking for BSD-compatible nm... (cached) /usr/bin/nm -B
    checking how to recognize dependent libraries... (cached) pass_all
    checking for object suffix... (cached) o
    checking for executable suffix... (cached) no
    checking the maximum length of command line arguments... (cached) 1572864
    checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok
    checking for objdir... (cached) .libs
    checking for ar... (cached) ar
    checking for ranlib... (cached) ranlib
    checking for strip... (cached) strip
    checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... (cached) yes
    checking if gcc static flag -static works... (cached) yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    (cached) (cached) checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... no
    checking whether to build static libraries... yes
    creating libtool
    appending configuration tag "CXX" to libtool
    [1mGenerating files[m
    creating ./config.status
    creating php5.spec
    creating main/build-defs.h
    creating scripts/phpize
    creating scripts/man1/phpize.1
    creating scripts/php-config
    creating scripts/man1/php-config.1
    creating sapi/cli/php.1
    creating main/php_config.h
    main/php_config.h is unchanged
    creating main/internal_functions.c
    creating main/internal_functions_cli.c
    +--------------------------------------------------------------------+
    | License: |
    | This software is subject to the PHP License, available in this |
    | distribution in the file LICENSE. By continuing this installation |
    | process, you are bound by the terms of this license agreement. |
    | If you do not agree with the terms of this license, you must abort |
    | the installation process at this point. |
    +--------------------------------------------------------------------+
    Thank you for using PHP.
    /bin/sh /home/yuri/_/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/home/yuri/_/php-5.3.29/ext/standard/ -DPHP_ATOM_INC -I/home/yuri/_/php-5.3.29/include -I/home/yuri/_/php-5.3.29/main -I/home/yuri/_/php-5.3.29 -I/home/yuri/_/php-5.3.29/ext/date/lib -I/home/yuri/_/php-5.3.29/ext/ereg/regex -I/usr/include/libxml2 -I/home/yuri/_/php-5.3.29/ext/sqlite3/libsqlite -I/home/yuri/_/php-5.3.29/TSRM -I/home/yuri/_/php-5.3.29/Zend -I/usr/include -g -O2 -fvisibility=hidden -c /home/yuri/_/php-5.3.29/ext/standard/info.c -o ext/standard/info.lo
    /bin/sh /home/yuri/_/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -Imain/ -I/home/yuri/_/php-5.3.29/main/ -DPHP_ATOM_INC -I/home/yuri/_/php-5.3.29/include -I/home/yuri/_/php-5.3.29/main -I/home/yuri/_/php-5.3.29 -I/home/yuri/_/php-5.3.29/ext/date/lib -I/home/yuri/_/php-5.3.29/ext/ereg/regex -I/usr/include/libxml2 -I/home/yuri/_/php-5.3.29/ext/sqlite3/libsqlite -I/home/yuri/_/php-5.3.29/TSRM -I/home/yuri/_/php-5.3.29/Zend -I/usr/include -g -O2 -fvisibility=hidden -c main/internal_functions.c -o main/internal_functions.lo
    /bin/sh /home/yuri/_/php-5.3.29/libtool --silent --preserve-dup-deps --mode=link gcc -export-dynamic -I/usr/include -g -O2 -fvisibility=hidden ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo ext/date/lib/parse_iso_intervals.lo ext/date/lib/interval.lo ext/ereg/ereg.lo ext/ereg/regex/regcomp.lo ext/ereg/regex/regexec.lo ext/ereg/regex/regerror.lo ext/ereg/regex/regfree.lo ext/libxml/libxml.lo ext/openssl/openssl.lo ext/openssl/xp_ssl.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucd.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_newline.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/sqlite3/sqlite3.lo ext/sqlite3/libsqlite/sqlite3.lo ext/ctype/ctype.lo ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo ext/dom/domexception.lo ext/dom/namelist.lo ext/dom/processinginstruction.lo ext/dom/cdatasection.lo ext/dom/documentfragment.lo ext/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo ext/dom/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo ext/dom/namednodemap.lo ext/dom/userdatahandler.lo ext/fileinfo/fileinfo.lo ext/fileinfo/libmagic/apprentice.lo ext/fileinfo/libmagic/apptype.lo ext/fileinfo/libmagic/ascmagic.lo ext/fileinfo/libmagic/cdf.lo ext/fileinfo/libmagic/cdf_time.lo ext/fileinfo/libmagic/compress.lo ext/fileinfo/libmagic/encoding.lo ext/fileinfo/libmagic/fsmagic.lo ext/fileinfo/libmagic/funcs.lo ext/fileinfo/libmagic/is_tar.lo ext/fileinfo/libmagic/magic.lo ext/fileinfo/libmagic/print.lo ext/fileinfo/libmagic/readcdf.lo ext/fileinfo/libmagic/readelf.lo ext/fileinfo/libmagic/softmagic.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo ext/hash/hash_crc32.lo ext/hash/hash_salsa.lo ext/iconv/iconv.lo ext/json/json.lo ext/json/utf8_to_utf16.lo ext/json/utf8_decode.lo ext/json/JSON_parser.lo ext/pdo/pdo.lo ext/pdo/pdo_dbh.lo ext/pdo/pdo_stmt.lo ext/pdo/pdo_sql_parser.lo ext/pdo/pdo_sqlstate.lo ext/pdo_sqlite/pdo_sqlite.lo ext/pdo_sqlite/sqlite_driver.lo ext/pdo_sqlite/sqlite_statement.lo ext/phar/util.lo ext/phar/tar.lo ext/phar/zip.lo ext/phar/stream.lo ext/phar/func_interceptors.lo ext/phar/dirstream.lo ext/phar/phar.lo ext/phar/phar_object.lo ext/phar/phar_path_check.lo ext/posix/posix.lo ext/reflection/php_reflection.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/simplexml/simplexml.lo ext/simplexml/sxe.lo ext/spl/php_spl.lo ext/spl/spl_functions.lo ext/spl/spl_engine.lo ext/spl/spl_iterators.lo ext/spl/spl_array.lo ext/spl/spl_directory.lo ext/spl/spl_exceptions.lo ext/spl/spl_observer.lo ext/spl/spl_dllist.lo ext/spl/spl_heap.lo ext/spl/spl_fixedarray.lo ext/sqlite/sqlite.lo ext/sqlite/sess_sqlite.lo ext/sqlite/pdo_sqlite2.lo ext/sqlite/libsqlite/src/opcodes.lo ext/sqlite/libsqlite/src/parse.lo ext/sqlite/libsqlite/src/encode.lo ext/sqlite/libsqlite/src/auth.lo ext/sqlite/libsqlite/src/btree.lo ext/sqlite/libsqlite/src/build.lo ext/sqlite/libsqlite/src/delete.lo ext/sqlite/libsqlite/src/expr.lo ext/sqlite/libsqlite/src/func.lo ext/sqlite/libsqlite/src/hash.lo ext/sqlite/libsqlite/src/insert.lo ext/sqlite/libsqlite/src/main.lo ext/sqlite/libsqlite/src/os.lo ext/sqlite/libsqlite/src/pager.lo ext/sqlite/libsqlite/src/printf.lo ext/sqlite/libsqlite/src/random.lo ext/sqlite/libsqlite/src/select.lo ext/sqlite/libsqlite/src/table.lo ext/sqlite/libsqlite/src/tokenize.lo ext/sqlite/libsqlite/src/update.lo ext/sqlite/libsqlite/src/util.lo ext/sqlite/libsqlite/src/vdbe.lo ext/sqlite/libsqlite/src/attach.lo ext/sqlite/libsqlite/src/btree_rb.lo ext/sqlite/libsqlite/src/pragma.lo ext/sqlite/libsqlite/src/vacuum.lo ext/sqlite/libsqlite/src/copy.lo ext/sqlite/libsqlite/src/vdbeaux.lo ext/sqlite/libsqlite/src/date.lo ext/sqlite/libsqlite/src/where.lo ext/sqlite/libsqlite/src/trigger.lo ext/standard/crypt_freesec.lo ext/standard/crypt_blowfish.lo ext/standard/crypt_sha512.lo ext/standard/crypt_sha256.lo ext/standard/php_crypt_r.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/sha1.lo ext/standard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo ext/standard/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo ext/tokenizer/tokenizer.lo ext/tokenizer/tokenizer_data.lo ext/xml/xml.lo ext/xml/compat.lo ext/xmlreader/php_xmlreader.lo ext/xmlwriter/php_xmlwriter.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/getopt.lo main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo main/streams/filter.lo main/streams/plain_wrapper.lo main/streams/userspace.lo main/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo main/streams/glob_wrapper.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_float.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_execute.lo sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo main/internal_functions.lo -lcrypt -lresolv -lcrypt -lrt -lrt -lm -ldl -lnsl -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lcrypt -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lcrypt -o sapi/cgi/php-cgi
    ext/openssl/openssl.o: In function `zm_startup_openssl':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:992: undefined reference to `SSL_library_init'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:993: undefined reference to `OpenSSL_add_all_ciphers'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:994: undefined reference to `OpenSSL_add_all_digests'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:995: undefined reference to `OPENSSL_add_all_algorithms_noconf'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:997: undefined reference to `ERR_load_ERR_strings'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:998: undefined reference to `ERR_load_crypto_strings'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:999: undefined reference to `ERR_load_EVP_strings'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1003: undefined reference to `SSL_get_ex_new_index'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1078: undefined reference to `X509_get_default_cert_area'
    ext/openssl/openssl.o: In function `zm_info_openssl':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1108: undefined reference to `SSLeay_version'
    ext/openssl/openssl.o: In function `zm_shutdown_openssl':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1118: undefined reference to `EVP_cleanup'
    ext/openssl/openssl.o: In function `add_assoc_name_entry':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:567: undefined reference to `X509_NAME_entry_count'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:572: undefined reference to `X509_NAME_get_entry'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:573: undefined reference to `X509_NAME_ENTRY_get_object'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:574: undefined reference to `OBJ_obj2nid'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:578: undefined reference to `OBJ_nid2sn'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:593: undefined reference to `X509_NAME_get_entry'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:594: undefined reference to `X509_NAME_ENTRY_get_data'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:595: undefined reference to `ASN1_STRING_type'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:596: undefined reference to `ASN1_STRING_to_UTF8'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:588: undefined reference to `X509_NAME_get_index_by_OBJ'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:567: undefined reference to `X509_NAME_entry_count'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:601: undefined reference to `ASN1_STRING_data'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:602: undefined reference to `ASN1_STRING_length'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:580: undefined reference to `OBJ_nid2ln'
    ext/openssl/openssl.o: In function `asn1_time_to_time_t':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:647: undefined reference to `ASN1_STRING_type'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:652: undefined reference to `ASN1_STRING_length'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:652: undefined reference to `ASN1_STRING_data'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:657: undefined reference to `ASN1_STRING_length'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:662: undefined reference to `ASN1_STRING_data'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:668: undefined reference to `ASN1_STRING_length'
    ext/openssl/openssl.o: In function `setup_verify':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1686: undefined reference to `X509_STORE_new'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1728: undefined reference to `X509_LOOKUP_file'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1728: undefined reference to `X509_STORE_add_lookup'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1730: undefined reference to `X509_LOOKUP_ctrl'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1734: undefined reference to `X509_LOOKUP_hash_dir'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1734: undefined reference to `X509_STORE_add_lookup'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1736: undefined reference to `X509_LOOKUP_ctrl'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1709: undefined reference to `X509_LOOKUP_file'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1709: undefined reference to `X509_STORE_add_lookup'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1710: undefined reference to `X509_LOOKUP_ctrl'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1717: undefined reference to `X509_LOOKUP_hash_dir'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1717: undefined reference to `X509_STORE_add_lookup'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1718: undefined reference to `X509_LOOKUP_ctrl'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1728: undefined reference to `X509_LOOKUP_file'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1728: undefined reference to `X509_STORE_add_lookup'
    ext/openssl/openssl.o: In function `php_sk_X509_free':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1786: undefined reference to `X509_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1784: undefined reference to `sk_pop'
    ext/openssl/openssl.o: In function `zif_openssl_pkcs12_read':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2024: undefined reference to `BIO_s_mem'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2024: undefined reference to `BIO_new'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2026: undefined reference to `BIO_write'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2092: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2095: undefined reference to `EVP_PKEY_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2098: undefined reference to `X509_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2029: undefined reference to `d2i_PKCS12_bio'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2030: undefined reference to `PKCS12_parse'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2036: undefined reference to `BIO_s_mem'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2036: undefined reference to `BIO_new'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2037: undefined reference to `PEM_write_bio_X509'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2044: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2046: undefined reference to `BIO_s_mem'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2046: undefined reference to `BIO_new'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2047: undefined reference to `PEM_write_bio_PrivateKey'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2054: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2073: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2075: undefined reference to `X509_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2061: undefined reference to `sk_pop'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2064: undefined reference to `BIO_s_mem'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2064: undefined reference to `BIO_new'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2065: undefined reference to `PEM_write_bio_X509'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2067: undefined reference to `BIO_ctrl'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2078: undefined reference to `sk_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2086: undefined reference to `PKCS12_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2049: undefined reference to `BIO_ctrl'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2039: undefined reference to `BIO_ctrl'
    ext/openssl/openssl.o: In function `php_openssl_dispose_config':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:859: undefined reference to `EVP_PKEY_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:863: undefined reference to `CONF_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:867: undefined reference to `CONF_free'
    ext/openssl/openssl.o: In function `php_openssl_load_rand_file':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:884: undefined reference to `RAND_egd'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:883: undefined reference to `RAND_file_name'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:890: undefined reference to `RAND_load_file'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:891: undefined reference to `RAND_status'
    ext/openssl/openssl.o: In function `php_openssl_write_rand_file':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:916: undefined reference to `RAND_write_file'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:914: undefined reference to `RAND_file_name'
    ext/openssl/openssl.o: In function `php_openssl_generate_private_key':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2855: undefined reference to `CONF_get_string'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2858: undefined reference to `EVP_PKEY_new'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2909: undefined reference to `EVP_PKEY_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2885: undefined reference to `DH_generate_parameters'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2889: undefined reference to `DH_get_default_method'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2889: undefined reference to `DH_set_method'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2890: undefined reference to `DH_check'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2895: undefined reference to `DH_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2861: undefined reference to `RSA_generate_key'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2861: undefined reference to `EVP_PKEY_assign'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2868: undefined reference to `DSA_generate_parameters'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2870: undefined reference to `DSA_get_default_method'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2870: undefined reference to `DSA_set_method'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2871: undefined reference to `DSA_generate_key'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2872: undefined reference to `EVP_PKEY_assign'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2876: undefined reference to `DSA_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2890: undefined reference to `DH_generate_key'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2891: undefined reference to `EVP_PKEY_assign'
    ext/openssl/openssl.o: In function `zif_openssl_pkey_get_details':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3282: undefined reference to `BIO_s_mem'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3282: undefined reference to `BIO_new'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3283: undefined reference to `PEM_write_bio_PUBKEY'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3284: undefined reference to `BIO_ctrl'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3287: undefined reference to `EVP_PKEY_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3292: undefined reference to `EVP_PKEY_type'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3361: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3302: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3302: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3303: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3303: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3304: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3304: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3305: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3305: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3306: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3306: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3307: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3307: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3308: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3308: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3309: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3309: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3325: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3325: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3326: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3326: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3327: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3327: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3328: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3328: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3329: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3329: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3342: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3342: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3343: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3343: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3344: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3344: undefined reference to `BN_bn2bin'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3345: undefined reference to `BN_num_bits'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3345: undefined reference to `BN_bn2bin'
    ext/openssl/openssl.o: In function `verify_callback':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4408: undefined reference to `X509_STORE_CTX_get_current_cert'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4409: undefined reference to `X509_STORE_CTX_get_error'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4410: undefined reference to `X509_STORE_CTX_get_error_depth'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4413: undefined reference to `SSL_get_ex_data_X509_STORE_CTX_idx'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4413: undefined reference to `X509_STORE_CTX_get_ex_data'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4414: undefined reference to `SSL_get_ex_data'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4427: undefined reference to `X509_STORE_CTX_set_error'
    ext/openssl/openssl.o: In function `zif_openssl_get_md_methods':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4663: undefined reference to `OBJ_NAME_do_all_sorted'
    ext/openssl/openssl.o: In function `zif_openssl_get_cipher_methods':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4679: undefined reference to `OBJ_NAME_do_all_sorted'
    ext/openssl/openssl.o: In function `zif_openssl_digest':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4700: undefined reference to `EVP_get_digestbyname'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4706: undefined reference to `EVP_MD_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4709: undefined reference to `EVP_DigestInit'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4710: undefined reference to `EVP_DigestUpdate'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4711: undefined reference to `EVP_DigestFinal'
    ext/openssl/openssl.o: In function `zif_openssl_dh_compute_key':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4965: undefined reference to `EVP_PKEY_type'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4969: undefined reference to `BN_bin2bn'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4971: undefined reference to `DH_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4972: undefined reference to `DH_compute_key'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4982: undefined reference to `BN_free'
    ext/openssl/openssl.o: In function `zif_openssl_random_pseudo_bytes':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:5010: undefined reference to `RAND_pseudo_bytes'
    ext/openssl/openssl.o: In function `zif_openssl_error_string':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4079: undefined reference to `ERR_get_error'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4081: undefined reference to `ERR_error_string'
    ext/openssl/openssl.o: In function `zif_openssl_cipher_iv_length':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4938: undefined reference to `EVP_get_cipherbyname'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4944: undefined reference to `EVP_CIPHER_iv_length'
    ext/openssl/openssl.o: In function `zif_openssl_encrypt':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4780: undefined reference to `EVP_get_cipherbyname'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4786: undefined reference to `EVP_CIPHER_key_length'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4795: undefined reference to `EVP_CIPHER_iv_length'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4801: undefined reference to `EVP_CIPHER_block_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4804: undefined reference to `EVP_EncryptInit'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4808: undefined reference to `EVP_EncryptInit_ex'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4810: undefined reference to `EVP_EncryptUpdate'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4813: undefined reference to `EVP_EncryptFinal'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4836: undefined reference to `EVP_CIPHER_CTX_cleanup'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4806: undefined reference to `EVP_CIPHER_CTX_set_key_length'
    ext/openssl/openssl.o: In function `zif_openssl_decrypt':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4864: undefined reference to `EVP_get_cipherbyname'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4880: undefined reference to `EVP_CIPHER_key_length'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4889: undefined reference to `EVP_CIPHER_iv_length'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4891: undefined reference to `EVP_CIPHER_block_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4894: undefined reference to `EVP_DecryptInit'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4898: undefined reference to `EVP_DecryptInit_ex'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4899: undefined reference to `EVP_DecryptUpdate'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4901: undefined reference to `EVP_DecryptFinal'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4918: undefined reference to `EVP_CIPHER_CTX_cleanup'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4896: undefined reference to `EVP_CIPHER_CTX_set_key_length'
    ext/openssl/openssl.o: In function `php_openssl_csr_from_zval':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2295: undefined reference to `BIO_new_mem_buf'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2297: undefined reference to `PEM_read_bio_X509_REQ'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2298: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2293: undefined reference to `BIO_new_file'
    ext/openssl/openssl.o: In function `zif_openssl_csr_export':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2376: undefined reference to `BIO_s_mem'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2376: undefined reference to `BIO_new'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2381: undefined reference to `PEM_write_bio_X509_REQ'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2394: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2392: undefined reference to `X509_REQ_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2384: undefined reference to `BIO_ctrl'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2378: undefined reference to `X509_REQ_print'
    ext/openssl/openssl.o: In function `zif_openssl_csr_get_public_key':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2662: undefined reference to `X509_REQ_get_pubkey'
    ext/openssl/openssl.o: In function `php_openssl_x509_from_zval':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1200: undefined reference to `BIO_new_mem_buf'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1205: undefined reference to `d2i_X509'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1205: undefined reference to `PEM_ASN1_read_bio'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1209: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1191: undefined reference to `BIO_new_file'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1195: undefined reference to `PEM_read_bio_X509'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1196: undefined reference to `BIO_free'
    ext/openssl/openssl.o: In function `zif_openssl_x509_export_to_file':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1247: undefined reference to `BIO_new_file'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1252: undefined reference to `PEM_write_bio_X509'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1261: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1250: undefined reference to `X509_print'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1259: undefined reference to `X509_free'
    ext/openssl/openssl.o: In function `zif_openssl_x509_export':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1286: undefined reference to `BIO_s_mem'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1286: undefined reference to `BIO_new'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1290: undefined reference to `PEM_write_bio_X509'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1294: undefined reference to `BIO_ctrl'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1303: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1301: undefined reference to `X509_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1288: undefined reference to `X509_print'
    ext/openssl/openssl.o: In function `php_openssl_evp_from_zval':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2813: undefined reference to `BIO_new_mem_buf'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2811: undefined reference to `BIO_new_file'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2819: undefined reference to `PEM_read_bio_PrivateKey'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2820: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2826: undefined reference to `X509_get_pubkey'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2830: undefined reference to `X509_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2795: undefined reference to `BIO_new_mem_buf'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2800: undefined reference to `PEM_read_bio_PUBKEY'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2801: undefined reference to `BIO_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2826: undefined reference to `X509_get_pubkey'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:2793: undefined reference to `BIO_new_file'
    ext/openssl/openssl.o: In function `zif_openssl_private_encrypt':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3844: undefined reference to `EVP_PKEY_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3850: undefined reference to `RSA_private_encrypt'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3871: undefined reference to `EVP_PKEY_free'
    ext/openssl/openssl.o: In function `zif_openssl_private_decrypt':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3902: undefined reference to `EVP_PKEY_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3908: undefined reference to `RSA_private_decrypt'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3934: undefined reference to `EVP_PKEY_free'
    ext/openssl/openssl.o: In function `zif_openssl_public_encrypt':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3967: undefined reference to `EVP_PKEY_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3973: undefined reference to `RSA_public_encrypt'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:3992: undefined reference to `EVP_PKEY_free'
    ext/openssl/openssl.o: In function `zif_openssl_public_decrypt':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4026: undefined reference to `EVP_PKEY_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4032: undefined reference to `RSA_public_decrypt'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4063: undefined reference to `EVP_PKEY_free'
    ext/openssl/openssl.o: In function `zif_openssl_sign':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4129: undefined reference to `EVP_PKEY_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4132: undefined reference to `EVP_DigestInit'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4133: undefined reference to `EVP_DigestUpdate'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4134: undefined reference to `EVP_SignFinal'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4143: undefined reference to `EVP_MD_CTX_cleanup'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4145: undefined reference to `EVP_PKEY_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4119: undefined reference to `EVP_get_digestbyname'
    ext/openssl/openssl.o: In function `zif_openssl_verify':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4191: undefined reference to `EVP_DigestInit'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4192: undefined reference to `EVP_DigestUpdate'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4193: undefined reference to `EVP_VerifyFinal'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4194: undefined reference to `EVP_MD_CTX_cleanup'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4175: undefined reference to `EVP_get_digestbyname'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4197: undefined reference to `EVP_PKEY_free'
    ext/openssl/openssl.o: In function `zif_openssl_seal':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4232: undefined reference to `EVP_get_cipherbyname'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4259: undefined reference to `EVP_PKEY_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4264: undefined reference to `EVP_EncryptInit'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4316: undefined reference to `EVP_PKEY_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4275: undefined reference to `EVP_CIPHER_CTX_block_size'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4277: undefined reference to `EVP_SealInit'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4277: undefined reference to `EVP_EncryptUpdate'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4283: undefined reference to `EVP_SealFinal'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4238: undefined reference to `EVP_rc4'
    ext/openssl/openssl.o: In function `zif_openssl_open':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4356: undefined reference to `EVP_get_cipherbyname'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4367: undefined reference to `EVP_OpenInit'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4367: undefined reference to `EVP_DecryptUpdate'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4371: undefined reference to `EVP_PKEY_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4368: undefined reference to `EVP_OpenFinal'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4362: undefined reference to `EVP_rc4'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:4383: undefined reference to `EVP_PKEY_free'
    ext/openssl/openssl.o: In function `zif_openssl_x509_check_private_key':
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1327: undefined reference to `X509_check_private_key'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1331: undefined reference to `EVP_PKEY_free'
    /home/yuri/_/php-5.3.29/ext/openssl/openssl.c:1334: undefined reference to `X509_free'
    ext/openssl/openssl.o: In function `zif_openssl_x509_parse':
    /hom

    Which one is it supposed to be? I have both versions installed side-by-side in /usr/lib, the prefix was /usr. Also, I was thinking about openssl installing header files into /usr/include. Aren't they needed to compile this php extension? openssl098 basically installs just the library:
    $ pacaur -Ql openssl098
    openssl098 /usr/
    openssl098 /usr/bin/
    openssl098 /usr/bin/openssl098
    openssl098 /usr/lib/
    openssl098 /usr/lib/libcrypto.so.0.9.8
    openssl098 /usr/lib/libssl.so.0.9.8
    openssl098 /usr/share/
    openssl098 /usr/share/licenses/
    openssl098 /usr/share/licenses/openssl098
    Maybe I should go with compiling openssl from sources after all...
    On a side note
    x33a wrote:In case you do try out an older version, make sure to use one with the heartbleed patch.
    Does it matter? I'm going to use it for development.

  • Problem compiling apache (2.4.4) with openssl 1.0.1e

    Hi Experts
    i am struggling since last 2 weeks to compile apache2.4.4 with openssl 1.0.1e on sun spark server.
    System Details: SunOS hostname 5.10 Generic_147440-19 sun4v sparc SUNW,Sun-Blade-T6320
    bash-3.00# cat /etc/release
    Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
    Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
    Assembled 23 August 2011
    We already have apache 2.2 running on this server, now we need 2.4.4 with latest openssl.
    i donwloaded apr, apr-utils, pcre, openssl and httpd2.4.4 from their respective websites.
    then i comiled these prerequisites into the path /local/apache/2.44/apr, /local/apache/2.44/apr-util, /local/apache/2.44/pcre, /local/apache/2.44/openssl
    and finally i am trying to build httpd2.4.4 with above compiled modules.
    so i used this command:
    ./configure prefix=/local/apache/2.44 with-apr=/local/apache/2.44 with-apr-util=/local/apache/2.44/apr-utils with-pcre=/local/apache/2.44/pcre enable-proxy enable-proxy-http enable-so enable-auth-digest enable-mime enable-deflate enable-rewrite enable-headers enable-ssl  with-ssl=/local/apache/2.44/openssl
    when i run make, i received this error:
    dlopen 0x44 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlopen 0x748 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlclose 0xb4 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlclose 0x1a0 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlclose 0x770 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlsym 0x268 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlsym 0x388 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlsym 0x764 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlerror 0xdc /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlerror 0x2cc /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlerror 0x3dc /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlerror 0x714 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    __umoddi3 0x64 /local/apache/2.44/openssl/lib/libcrypto.a(bn_word.o)
    __umoddi3 0xac /local/apache/2.44/openssl/lib/libcrypto.a(b_print.o)
    __udivdi3 0xe8 /local/apache/2.44/openssl/lib/libcrypto.a(b_print.o)
    __udivdi3 0x394 /local/apache/2.44/openssl/lib/libcrypto.a(bn_div.o)
    ld: fatal: relocations remain against allocatable but non-writable sections
    collect2: ld returned 1 exit status
    *** Error code 1
    make: Fatal error: Command failed for target `mod_ssl.la'
    Current working directory /local/apache244pkg/httpd-2.4.4/modules/ssl
    *** Error code 1
    The following command caused the error:
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi; \
    list=''; for i in $list; do \
    target="shared-build"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-shared-build"; \
    fi; \
    if test "$i" != "srclib"; then \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test -f 'modules.mk'; then \
    if test -n 'mod_ssl.la'; then \
    echo "Building shared: mod_ssl.la"; \
    if test "$made_local" != "yes"; then \
    make "local-shared-build" || exit 1; \
    fi; \
    fi; \
    fi; \
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi
    make: Fatal error: Command failed for target `shared-build-recursive'
    Current working directory /local/apache244pkg/httpd-2.4.4/modules/ssl
    *** Error code 1
    The following command caused the error:
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi; \
    list='aaa cache core database debugging filters http loggers metadata proxy session slotmem ssl proxy/balan cers arch/unix dav/main generators dav/fs mappers'; for i in $list; do \
    target="shared-build"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-shared-build"; \
    fi; \
    if test "$i" != "srclib"; then \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test -f 'modules.mk'; then \
    if test -n ''; then \
    echo "Building shared: "; \
    if test "$made_local" != "yes"; then \
    make "local-shared-build" || exit 1; \
    fi; \
    fi; \
    fi; \
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi
    make: Fatal error: Command failed for target `shared-build-recursive'
    Current working directory /local/apache244pkg/httpd-2.4.4/modules
    *** Error code 1
    The following command caused the error:
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi; \
    list='srclib os server modules support'; for i in $list; do \
    target="shared-build"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-shared-build"; \
    fi; \
    if test "$i" != "srclib"; then \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test -f 'modules.mk'; then \
    if test -n ''; then \
    echo "Building shared: "; \
    if test "$made_local" != "yes"; then \
    make "local-shared-build" || exit 1; \
    fi; \
    fi; \
    fi; \
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi
    make: Fatal error: Command failed for target `shared-build-recursive'
    Current working directory /local/apache244pkg/httpd-2.4.4
    *** Error code 1
    The following command caused the error:
    otarget=`echo all-recursive|sed s/-recursive//`; \
    list=' srclib os server modules support'; \
    for i in $list; do \
    if test -d "$i"; then \
    target="$otarget"; \
    echo "Making $target in $i"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-$target"; \
    fi; \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test "$otarget" = "all" && test -z 'httpd shared-build '; then \
    made_local=yes; \
    fi; \
    if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
    fi
    make: Fatal error: Command failed for target `all-recursive'
    your help will be highly appreciated.
    thanks
    Edited by: 990086 on May 28, 2013 2:01 AM

    freaks wrote:if somebody can give me an example of ssl.conf
    Hi freaks; you can find an example SSL configuration file here on your system:
    /etc/httpd/conf/extra/httpd-ssl.conf
    It’s full of comments describing what the different options are.
    Apache’s documentation on SSL is full of good stuff, including a howto.
    As far as selecting ciphers go, you could do worse than following Qualys’ advice on the subject.
    Paul
    Last edited by prelog (2014-03-19 04:05:40)

  • Attribute Change Run in Process Chain failed with SQL 942 error

    Hi,
    Attribute change run in th eprocess chain failed with the message " SQL Error 942" and ran succesfully after repeating the step.Searched in Forums for similar error but the solutions were not apt.
    Any pointers would be of great help!!
    Thanks in advance,
    Bhagyarekha.

    Hi Bhagyarekha,
    The reason behind that error could be:
    An attempt is made to activate a characteristic whose compounding was replaced and whose navigation attributes were simultaneously deleted. The replacement of the compounding temporarily deletes the M view of the characteristic during internal activation. The process of deleting navigation attributes involves converting the attribute SID tables. However, the M-view of the characteristic, which has just been deleted, is needed for this conversion.
    Check this SAP Note:
    Note 684405 - Replacing the compounding and deleting navigation attr.
    Hope it helps.
    Veerendra.

  • Vpnc with OpenSSL

    Hi Folks,
    I am a longtime ubuntu user switching to Arch. Just installed Arch on my thinkpad R50p  and extremely impressed with it. I have gotten almost everything working properly but setting up vpn.
    I am aware that vpnc does not come with OpenSSL. Can someone guide me for building VPNC with OpenSSL? On ubuntu, I usually get the VPNC source and uncomment the OpenSSL lines, build a debian package and install it. The procedure is:
    sudo apt-get update
    sudo apt-get build-dep vpnc
    sudo apt-get install libssl-dev
    mkdir ~/src/vpnc -p
    cd ~/src/vpnc
    apt-get source vpnc
    cd vpnc-*
    sudo gedit Makefile
    These two lines need to be uncommented in the makefile
    OPENSSL_GPL_VIOLATION = DOPENSSL_GPL_VIOLATION
    OPENSSLLIBS = -lcrypto
    dpkg-buildpackage
    sudo dpkg -i ../vpnc*.deb
    Looking to learn how to do this on Arch - if someone can point me the right direction, I'll be grateful!

    Pierre wrote:
    Afaik our vpnc packages comes with openssl support.
    And to answer your question: Look for ABS in our wiki and documentation.
    Thanks for pointing me to ABS - that's what I wanted.
    And I just checked and you are right, vpnc does come with openssl support. I am able to connect now, but I get this error:
    Device "eth0
    eth0" does not exist.
    SIOCSIFMTU: Invalid argument
    There is a bug report in launchpad about this: https://bugs.launchpad.net/ubuntu/+sour … bug/382168
    and changing line 93 in /etc/vpnc/cpnc-script to the following fixes the above issue:
    DEV=$($IPROUTE route \
    | sed -ne 's/^default.* dev \([[:alnum:]-]\+\)\(.*metric \([0-9]\+\)\)\{0,1\}.*$/\1 \3/p' \
    | sort -n -k2 \
    | sed -e '1{s/^\([[:alnum:]-]\+\).*$/\1/;q}')
    Last edited by psrivats (2010-03-21 18:33:36)

  • Creating Oracle Wallets (pkcs#12 files) with OpenSSL

    I am attempting to create pkcs12 file that will be recoginized by the Oracle Wallet Manager.
    I found a procedure here:
    http://web.metacircles.com/oracle%20wallet%20manager
    but I'm not having much luck with it.
    This is what I have done:
    1. Created a private key with the command:
         openssl genrsa -des3 -out privkey.pem 2048
    2. Used the private key to create a certificate request:
         openssl req -new -key privkey.pem -out cert.csr
    3. Used cert.csr to generate a test site certificate from Thawte (http://www.thawte.com/)
    4. Converted the Thawte ServerCA certificate into PEM format:
         openssl x509 -inform der -in ThawteServerCA.cer -outform pem -out serverCA.pem
    5. Created the pkcs#12 file:
              openssl pkcs12 -export -certfile serverCA.pem -inkey privkey.pem -in sitetest.crt -name "Test Wallet"
              -certpbe PBE-SHA1-RC2-40 -keypbe PBE-SHA1-3 DES -noiter -out ewallet.p12
    However, the Oracle Wallet Manager does not like the resulting pkcs#12 file. I am getting the unhelpful "Invalid Password" error even though I am using the same password I used when I created the private key.
    If anyone has had any success creating an Oracle ewallet with OpenSSL, I would be appreciative to any suggestions they may have.
    Jim

    Which one is it supposed to be? I have both versions installed side-by-side in /usr/lib, the prefix was /usr. Also, I was thinking about openssl installing header files into /usr/include. Aren't they needed to compile this php extension? openssl098 basically installs just the library:
    $ pacaur -Ql openssl098
    openssl098 /usr/
    openssl098 /usr/bin/
    openssl098 /usr/bin/openssl098
    openssl098 /usr/lib/
    openssl098 /usr/lib/libcrypto.so.0.9.8
    openssl098 /usr/lib/libssl.so.0.9.8
    openssl098 /usr/share/
    openssl098 /usr/share/licenses/
    openssl098 /usr/share/licenses/openssl098
    Maybe I should go with compiling openssl from sources after all...
    On a side note
    x33a wrote:In case you do try out an older version, make sure to use one with the heartbleed patch.
    Does it matter? I'm going to use it for development.

  • Signing with openssl verify with java fails

    Hi!
    I've been itching my head for the last 6 hours on why I can't sign something with openssl and verify it in java. Anyone out there that can help me out?
    I'm using OpenSSL 0.9.8k 25 Mar 2009 on Ubuntu 10.04 and using java version:
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)
    1. Generation of the private key
    openssl genrsa -out private_key.pem 2048
    echo "Testing signing" >data.txt
    openssl rsautl -sign -in data.txt -inkey private_key.pem -out data.signedOk, now I have the signature for the content of data.txt in the file data.signed. Let's try and verify this signature.
    2. I'm using Bouncy Castle version 1.45 with the following code (just check verify for this case)
    package test.signature;
    import java.io.DataInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.FileReader;
    import java.io.IOException;
    import java.security.InvalidKeyException;
    import java.security.KeyPair;
    import java.security.NoSuchAlgorithmException;
    import java.security.Security;
    import java.security.Signature;
    import java.security.SignatureException;
    import java.security.spec.InvalidKeySpecException;
    import org.bouncycastle.jce.provider.BouncyCastleProvider;
    import org.bouncycastle.openssl.PEMReader;
    public class BouncySignatureHandler  {
         static String TYPE = "SHA1withRSA";
         public static void main(String[] args) throws Exception {
              if (args.length < 2)
                   printInfoAndExit();
              String cmd = args[0];
              Security.addProvider(new BouncyCastleProvider());
              Signature signature = Signature.getInstance(TYPE, "BC");
              if ("verify".equalsIgnoreCase(cmd)) {
                   String pubKeyFileName = args[1];
                   String dataFileName = args[2];
                   String signatureFileName = args[3];
                   System.out.println("Using key " + pubKeyFileName
                             + " to verify signature " + signatureFileName
                             + " with the content of " + dataFileName);
                   byte[] dataBytes = readFile(dataFileName);
                   byte[] signatureBytes = readFile(signatureFileName);
                   FileReader fr = new FileReader(new File(pubKeyFileName));
                   PEMReader pemReader = new PEMReader(fr);
                   KeyPair keyPair = (KeyPair) pemReader.readObject();
                   fr.close();
                   Signature verifier = Signature.getInstance(TYPE, "BC");
                   verifier.initVerify(keyPair.getPublic());
                   verifier.update(dataBytes);
                   if (verifier.verify(signatureBytes)) {
                        System.out.println("Signature is valid");
                   } else {
                        System.out.println("Signature is NOT valid");
              } else if ("sign".equalsIgnoreCase(cmd)) {
                   String pemFileName = args[1];
                   String dataFileName = args[2];
                   System.out.println("Creating a signature with " + pemFileName
                             + " over the content of " + dataFileName);
                   byte[] data = readFile(dataFileName);
                   FileReader fr = new FileReader(new File(pemFileName));
                   PEMReader pemReader = new PEMReader(fr);
                   KeyPair keyPair = (KeyPair) pemReader.readObject();
                   fr.close();
                   signature.initSign(keyPair.getPrivate());
                   signature.update(data);
                   byte[] signatureBytes = signature.sign();
                   writeFile(signatureBytes, dataFileName + ".signed");
                   String encoded = Base64.encode(signatureBytes);
                   writeFile(encoded.getBytes(), dataFileName + ".signed.base64");
                   System.out.println("Signature for " + dataFileName + " saved in "
                             + dataFileName + ".signed");
              } else {
                   printInfoAndExit();
         private static void writeFile(byte[] signatureBytes, String fName)
                   throws IOException {
              FileOutputStream fout = new FileOutputStream(new File(fName));
              fout.write(signatureBytes);
              fout.close();
         private static void printInfoAndExit() {
              System.out
                        .println("BouncySignatureHandler <sign privKeyFile dataFile |verify pubkeyFile dataFile signedDataFile>");
              System.exit(1);
         public static byte[] readFile(String fileName) throws IOException {
              File f = new File(fileName);
              FileInputStream fis = new FileInputStream(f);
              DataInputStream dis = new DataInputStream(fis);
              byte[] bytes = new byte[(int) f.length()];
              dis.readFully(bytes);
              dis.close();
              return bytes;
    }3. Running this code (no classpath here)
    java -cp .... BouncySignatureHandler verify private_key.pem data.txt data.txt.signedThis gives the output, ..... NOT valid
    Any ideas what I'm doing wrong????
    Edited by: trouthunter on Sep 7, 2010 3:50 PM
    Edited by: trouthunter on Sep 7, 2010 3:53 PM

    The "openssl rsautl -sign" is not doing what you think it is. If one applies                   Cipher cipher = Cipher.getInstance("RSA", "BC");
                        cipher.init(Cipher.DECRYPT_MODE, keyPair.getPublic());
                        byte[] decryptedSignature= cipher.doFinal(signatureBytes);
                        HexEncoder hexEncoder =new HexEncoder();
                        System.out.println("Decrypted signature (hex) = " + hexEncoder.encodeAsString(decryptedSignature));
                        System.out.println("Decrypted as String = " + new String(decryptedSignature, decryptedSignature.length-16, 16));
    one gets as a result
    Decrypted signature (hex) = 01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0054657374696e67207369676e696e670a
    Decrypted as String = Testing signingwhich indicates that the openssl signature using the 'rsautl' command does not actually encrypt the digest of the message. It just pads the message with something approaching PKCS1 and encrypts that with the private key.
    If you need the background to signing then [RFC3447|http://www.ietf.org/rfc/rfc3447.txt] describes how a signature for a given digest and encryption scheme is formed.
    Since this is a Java forum, I will leave it to you to correct your use of openssl command.

  • Exporting an encrypted key using DESede that is compatible with openssl

    I have been banging my head against this wall for a week now. I need to take an existing PrivateKey and store it in a PKCS#8 container using Triple DES. The only "successful" attempt I have had so far creates a container using pbeWithSHA1And3-KeyTripleDES-CBC wich is not even close to the same thing as des-ede3-cbc. I have a before/after dump using "openssl asn1parse ..." as a reference:
    Non-working one:
        0:d=0  hl=4 l= 682 cons: SEQUENCE
        4:d=1  hl=2 l=  36 cons:  SEQUENCE
        6:d=2  hl=2 l=  10 prim:   OBJECT            :pbeWithSHA1And3-KeyTripleDES-CBC
       18:d=2  hl=2 l=  22 cons:   SEQUENCE
       20:d=3  hl=2 l=  16 prim:    OCTET STRING      [HEX DUMP]:9950B90483C58D10807A8A4BEE7E6199
       38:d=3  hl=2 l=   2 prim:    INTEGER           :0800
       42:d=1  hl=4 l= 640 prim:  OCTET STRING      [HEX DUMP]:FB5130BAA93B217C3D9CC157B48A3A470CExisting one (made using "openssl pkcs8 -topk8 -in temp.key -v2 des3"):
        0:d=0  hl=4 l= 710 cons: SEQUENCE
        4:d=1  hl=2 l=  64 cons:  SEQUENCE
        6:d=2  hl=2 l=   9 prim:   OBJECT            :PBES2
       17:d=2  hl=2 l=  51 cons:   SEQUENCE
       19:d=3  hl=2 l=  27 cons:    SEQUENCE
       21:d=4  hl=2 l=   9 prim:     OBJECT            :PBKDF2
       32:d=4  hl=2 l=  14 cons:     SEQUENCE
       34:d=5  hl=2 l=   8 prim:      OCTET STRING      [HEX DUMP]:56E20E2561891C26
       44:d=5  hl=2 l=   2 prim:      INTEGER           :0800
       48:d=3  hl=2 l=  20 cons:    SEQUENCE
       50:d=4  hl=2 l=   8 prim:     OBJECT            :des-ede3-cbc
       60:d=4  hl=2 l=   8 prim:     OCTET STRING      [HEX DUMP]:903C92209EBA0B3A
       70:d=1  hl=4 l= 640 prim:  OCTET STRING      [HEX DUMP]:0C6033115F1AEF6724E1I just need some basic help on getting from the PrivateKey to the output that will work with openssl.

    The only "successful" attempt I have had so far creates a container using pbeWithSHA1And3-KeyTripleDES-CBC wich is not even close to the same thing as des-ede3-cbc.What do you mean "not even close"? They certainly have different numbers of letters in their names, but cryptographically they are very similar.
    Non-working one:What doesn't work about it?
    I just need some basic help on getting from the PrivateKey to the output that will work with openssl.The example I provided in the earlier thread works just fine with openssl.

  • Thunderbolt daisy chain problem with display

    Hi to everybody,
    being a proud new user of a thunderbolt audio interface Apollo Quad since a couple of days i am struggling to set it up without trouble for my secondary display in my Thunderbolt daisy chain...
    My setup and connections
    MBP Late 2011 17" 16GB RAM running Mavericks and UAD SW 7.11, 1 Thunderbolt port
    Promise Pegasus R4 Thunderbolt RAID drive
    Apple TB display
    Second 26" display connected via DVI/Mini display port adapter
    Erverything worked like a charm prior to inserting the TB audio interface with a Thunderbolt 2 Card into the TB daisy chain. Order of TB connections: MPB -> Apple TB display -> TB Audio interface -> Ext. display via DVI to TB connector.
    Since putting the audio interface (Apollo) in the TB chain Apollo itself, TB display and Pegasus RAID run fine - but the last display behind Apollo only shows "invalid mode" blinking on the display. I tried changing the order of the devices, no change.
    Has anyone an idea what to do?? - I have not exceeded the max number of TB devices (6) allowed to run in sequence. I read here in the forum that an ext display behind Apollo should work and has proven to do so. It has the new option card for TB2 inserted... Does the left/right port matter, which is connected to the display?
    Thanks in advance for any help to get that sorted out!! The last option would be to go remove the TB card and run the Apollo per firewire as I need the second screen.. not the most convincing solution for me though.
    Regards
    Uli

    Hi Ilya,
    I am curious why it only happens for one particular Process Chain. Normally displaying a log has nothing to do with the client settings of SCC4 and/or system settings of SE06. My only guess is that it might be created in this system directly and that the system wants to modify anything here.
    I am quite sure that the system is "closed" and it's not a Development system, e.g. a Production System. Please confirm.
    Anyway, I have one suggestion and that is to check the Object Changeability in the Transport Connection. Go to t/code RSA1, choose the Transport Connection view and click on the push button Object Changeability.
    Here you can see a list of Object Types like RSPT (Process Chain Starter), RSPV (Process Variants), PSPC (Process Chain). If it is set to "Not Changeable", I suggest to change that in e.g. "Everything Changeable".
    Please try that with the above mentioned Object Types for Process Chain related Object Types and see if you are able to display the log w/o the pop-up.
    You can also refer to SAP Note 337950 - Queries (including objects) cannot be edited for more information.
    Thanks,
    Sander

  • Firewire daisy-chain trouble with Leopard. Will a hub help?

    I cannot get reliable daisy-chaining of my external Firewire drives under Leopard. A Firewire drive directly attached to computer will work, but subsequent daisy-chains to this drive will not mount more than half the time. I ended up getting corruption of 2 drives: there appears to sometimes be Spotlight crashes/Finder crashes, and Disk Utility repair failure after a mount fails.
    I have nine FW drives, and I like to keep bootable clones of all 3 of my Macs with the current system and a couple of generations back. Being able to attach only one drive to my 12" G4 Powerbook 1.5GHz makes cloning difficult (I can only clone the internal drive using my Powerbook). If I get a Firewire hub, will my FW connection then be reliable? There seems to be a problem in Leopard as I don't get daisy-chain problems using the same drives under Tiger. The drive activity lights don't even flash when the daisy-chained drive mounts fail under Leopard, so it appears that Leopard is making no attempt to mount the drives. Why would this be? Yet sometimes daisy-chain drives have mounted just fine.
    Makes/models I have tried: Smartdisk Firelite (were sold by Apple), Maxtor OneTouch III, Seagate FreeAgent Pro, and Iomega Black series. I tried various cables.
    Does anyone know what the difference is, from a hardware standpoint, between daisy-chain vs. using a Firewire hub. Would there be an inherent difference using a hub?
    Are the "hubs" with Mac Mini footprints actually true hubs or are they daisy-chains? How about FW drives with built-in FW "hubs": are THEY actually a true hub or a daisy-chain in disguise? (Sorry if these questions seem stupid.) Recommendations for a hub?

    Sorry just noticed I've probably posted this under the wrong forum header

  • There is no display on Apple Thunderbolt display, when Daisy chain connect with six LaCie Little Big Disks.

    Hi, Everyone,
    I have aquestion with Thunderbolt daisy chan.
    I have six LaCie Little Big Disks and Apple Thunderbolt Display to make daisy chan and I got a problem.
    I place the Apple Thunderbolt Display at the end of the chain, and six LaCie Little Big Disks infront, and Apple Thunderbolt Display does not show anything.
    If I plac the dell u2711 (DP1.1) Display at the end of the chain, and six LaCie Little Big Disks infront , dell u2711(DP1.1) displays.
    If I place the Apple Thunderbolt Display at the end of  the chain,and five LaCie Little Big Disks infront. Apple Thunderbolt Displays well.
    Is it because the hardware limitation that Thunderbolt daisy chan can only have maximum 6 Thunderbolt deivce?
    Apple Thunderbolt Display Should be DP1.2, why it doesn’t display?
    My workstation running Windows 7x64 or Windows8.1x64
    Thanks ,Myron

    if you reduce the number of disks to 5 and the display works, I think we'll have your answer.

  • Process Chain Ended with Errors - cause unknown

    I have had several instances of process chains stopping for no apparent reason.  The stops occur between 2 master data infopackage loads.  The last step is green and the next is grey.  The PSA table has been updated successfully for the last step.  All IDocs are in green status in both systems.  The monitor for the last successful step does say "Ended with Errors" although no errors are evident.  The process chain starts back up via Repeat at the next (grey) step and continues successfully.  There were no system problems or connection interruptions that occurred during the time the process chains failed.  There were no changes in the remote user profile.
    This exact problem has occurred a half dozen times since our application of ECC Support Packs several months ago and had not occurred before.  The infopackages are different each time. Two different process chains have had this problem.  I have re-activated and re-scheduled the process chains without solving the problem.
    Thanks for any ideas on why this may be occurring or what I can do to prevent it.
    Patty Moffatt

    Hi Des,
    Here's my BW release info:
    SAP_ABA        640       0019 SAPKA64019     Cross-Application
    SAP_BASIS      640       0019 SAPKB64019     SAP Basis          
    PI_BASIS       2005_1_6400009 SAPKIPYJ69     Basis Plug-In
    ST-PI          2005_1_6400008 SAPKITLQH8     SAP Solution Tools Plug-
    SAP_BW         350       0019 SAPKW35019   SAP_BW                      
    ECC SPs 13-21 were applied before the BW problem started:
    SAP_BASIS      640       0021 SAPKB64021    
    SAP_ABA        640       0021 SAPKA64021    
    PI_BASIS       2005_1_6400012 SAPKIPYJ6C   
    ST-PI          2005_1_6400008 SAPKITLQH8    
    SAP_BW         350       0021 SAPKW35021   
    PI             2004_1_5000016 SAPKIPZI6G    
    The process chain step and the monitor load both are green.  The Details tab shows all the processing is green, but the Process Chain itself is red with "Errors Occurred.  There have been no runtime dumps.
    Patty

  • Process chain failing with error 8 in BI 7.0

    Hi ,
    we have upgrade the dev to BI 7.0 and I am trying to execute the process chains but it is failing with a error 8 due to the step of the job BI_PROCESS is in the name of a old user. So i have changed in process chain -Attrbutes--Execution user --- current user.So the chain has started but it has so many chains inside the Meta chain it looks i need to go to each of them and change as cyurrent user.
    But is there some place where I can change globally to a Batch user/current user for these process chain in BI 7.0.If so pl let me know.

    Hi,
    user SM37 to identify all BI_PROCESS jobs and change the User of the step in the jobs (they all should only have one step).
    bye
    Frank

  • Supply Chain working with SAP

    Can Supply Chain co-exist with an SAP implementation? And, to what extent?
    Thanks

    Today, any integrated system must include 'supply chain' as a part of the system. It has to have a 'chain link' to the extent of input suppliers & output customers, and beyond.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kruiz_us:
    Can Supply Chain co-exist with an SAP implementation? And, to what extent?
    Thanks<HR></BLOCKQUOTE>
    null

  • Proces chain decision with formula method: which proces chain is performing

    I want to know which chain is processing while i am in a decision. I made a decision in a proces chain. From that decision i call a formula. In that formula i call a method which i defined myself (client specific fomula/method). Now i want to know from which proces chain this method has been called. I tried the following ABAP statements in this method:
    IMPORT instance TO l_instance
    log_id TO l_logid
    chain_id TO l_chainid
    FROM DATABASE rspc_buffer(ab)
    ID i_chain.
    I found this statements in another SDN thread and from experience i know it works fine when you process normal ABAP in your proces chain.
    Unfortunately this does not work in a method from a decision. Maybe i need to access another table?
    Any suggestions?

    Ok, if you worry about that, let's do it in series...
    you create a local chain per IP/DTP (with link "if succesfull")...so you will have 10 local chains
    then create a big chain with these 10 local chain (with link "always")
    so, if a IP (eg of loacl chain 1) fails the DTP will not be triggered, the local chain 1 will go to status red, but as you put between the local chain option "always", the local chain 2 will start...and so on
    For inforamtion, I would put the attribute change run for the specific attribute in the local chain...this way you will only activate data of succesfull IP/DTP's...
    this way you should achieve what you aim for...
    M.

Maybe you are looking for

  • How to edit the T9 word suggestion list

    HI all, I hope someone can help here..  I'm using the N97 with original firmware (no update available yet). When I'm using T9 text input from the dialpad and type 86 which should give 'to' I get 'vo' instead which is not even a word as far as I know,

  • Reading a part of a file

    Hello, do you know if this is possible (doesn't matter what language..): If I have a big file which is much larger that my memory + swap space, say 20gb. Is it possible to say something like read the part from  the 1132312 byte to the 2132312 byte in

  • HT4972 Problem with update

    Hi I have i hope 4.3.5 version and when i what to update to 5.1.1 from itunes by pressing update batten. the massage pops up by saying  "iphone sowfware update server could be connected, make sure your network setting are correct and your network con

  • Like Server error Linked Server error: Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

     Getting error when trying to test the link server from remote ... Please help

  • Larger image changed, but smaller thumbnails still show old image

    Hi, I want to change the image for my podcast. I added the new image to my server and added an image tag to my rss file pointing to it. Now in the iTunes store, the larger thumbnail shows the correct image, but the smaller thumbnails in the store sho