On 19 Aug 2015 at 03:49:22, Adam Fedor (adam....@gmail.com) wrote:
> erl 'ssl:version().' produces an error,
Adam,
Please do post error messages . It is absolutely impossible to help you otherwise.
$ erl
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [async-threads:10] [kernel-poll:false]
Eshell V6.3 (abort with ^G)
1> ssl:version().
* 2: syntax error before: ssl
openssl s_client -connect localhost:5671
socket: Bad file descriptor
connect:errno=9
=ERROR REPORT==== 19-Aug-2015::01:55:07 ===
Error on AMQP connection <0.316.0>:
{ssl_upgrade_error,
{options,{cacertfile,"/home/ec2-user/testca/cacert.pem",{error,eacces}}}}
# yum install esl-erlang_18.0-1~centos~6_amd64.rpm
Loaded plugins: priorities, update-motd, upgrade-helper
Examining esl-erlang_18.0-1~centos~6_amd64.rpm: esl-erlang-18.0-1.x86_64
Marking esl-erlang_18.0-1~centos~6_amd64.rpm to be installed
Resolving Dependencies
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
--> Running transaction check
---> Package esl-erlang.x86_64 0:18.0-1 will be installed
--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8)(64bit) for package: esl-erlang-18.0-1.x86_64
980 packages excluded due to repository priority protections
--> Processing Dependency: libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) for package: esl-erlang-18.0-1.x86_64
--> Processing Dependency: libgdk_pixbuf-2.0.so.0()(64bit) for package: wxGTK-gl-2.8.12-1.el6.x86_64
--> Processing Dependency: libgdk-x11-2.0.so.0()(64bit) for package: wxGTK-gl-2.8.12-1.el6.x86_64
--> Processing Dependency: libatk-1.0.so.0()(64bit) for package: wxGTK-gl-2.8.12-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: wxGTK-gl-2.8.12-1.el6.x86_64 (epel)
Requires: libgdk-x11-2.0.so.0()(64bit)
Error: Package: wxGTK-gl-2.8.12-1.el6.x86_64 (epel)
Requires: libatk-1.0.so.0()(64bit)
Error: Package: wxGTK-gl-2.8.12-1.el6.x86_64 (epel)
Requires: libgtk-x11-2.0.so.0()(64bit)
Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
Requires: libgdk-x11-2.0.so.0()(64bit)
Error: Package: wxGTK-gl-2.8.12-1.el6.x86_64 (epel)
Requires: libgdk_pixbuf-2.0.so.0()(64bit)
Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
Requires: libSDL-1.2.so.0()(64bit)
Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
Requires: libatk-1.0.so.0()(64bit)
Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
Requires: libgdk_pixbuf-2.0.so.0()(64bit)
Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
Requires: libgtk-x11-2.0.so.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
#
On Tuesday, August 18, 2015 at 6:56:20 PM UTC-6, Michael Klishin wrote:On 19 Aug 2015 at 03:49:22, Adam Fedor (adam....@gmail.com) wrote:
> erl 'ssl:version().' produces an error,
Adam,
Please do post error messages . It is absolutely impossible to help you otherwise.Well here's some trouble shooting with RabbtMQ's elang:$ erl
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [async-threads:10] [kernel-poll:false]
Eshell V6.3 (abort with ^G)
1> ssl:version().
* 2: syntax error before: ssl
> {options,{cacertfile,"/home/ec2-user/testca/cacert.pem",{error,eacces}}}}
EACCESS is pretty unambiguous: RabbitMQ process couldn’t read
/home/ec2-user/testca/cacert.pem.
--
openssl s_client -connect localhost:5671
CONNECTED(00000003)
depth=1 CN = MyTestCA
verify error:num=19:self signed certificate in certificate chain
verify return:0
---
Certificate chain