Unable to verify certificate, please set...

Phenomenon

vagrant up --provider=aws is failed

on centos5.10, vagrant1.7.0

$ vagrant up --provider=aws ninja
Bringing machine 'ninja' up with 'aws' provider...  
==> ninja: HandleBoxUrl middleware is deprecated. Use HandleBox instead.
==> ninja: This is a bug with the provider. Please contact the creator
==> ninja: of the provider you use to fix this.
==> ninja: Warning! The AWS provider doesn't support any of the Vagrant
==> ninja: high-level network configurations (`config.vm.network`). They
==> ninja: will be silently ignored.
==> ninja: Warning! You're launching this instance into a VPC without an
==> ninja: elastic IP. Please verify you're properly connected to a VPN so
==> ninja: you can access this machine, otherwise Vagrant will not be able
==> ninja: to SSH into it.
==> ninja: Launching an instance with the following settings...
==> ninja:  -- Type: t1.micro
==> ninja:  -- AMI: ami-81294380
==> ninja:  -- Region: ap-northeast-1
==> ninja:  -- Keypair: ninja-makimono
==> ninja:  -- Subnet ID: subnet-12345678
==> ninja:  -- Security Groups: ["sg-12345678"]
==> ninja:  -- Block Device Mapping: []
==> ninja:  -- Terminate On Shutdown: false
==> ninja:  -- Monitoring: false
==> ninja:  -- EBS optimized: false
==> ninja:  -- Assigning a public IP address in a VPC: false
/home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/ssl_socket.rb:121:in `connect_nonblock': Unable to verify certificate, please set `Excon.defaults[:ssl_ca_path] = path_to_certs`, `ENV['SSL_CERT_DIR'] = path_to_certs`, `Excon.defaults[:ssl_ca_file] = path_to_file`, `ENV['SSL_CERT_FILE'] = path_to_file`, `Excon.defaults[:ssl_verify_callback] = callback` (see OpenSSL::SSL::SSLContext#verify_callback), or `Excon.defaults[:ssl_verify_peer] = false` (less secure). (Excon::Errors::SocketError)
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/ssl_socket.rb:121:in `block in initialize'
        from /opt/vagrant/embedded/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/ssl_socket.rb:117:in `initialize'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:380:in `new'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:380:in `socket'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:105:in `request_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/mock.rb:47:in `request_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/instrumentor.rb:22:in `request_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/base.rb:15:in `request_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/base.rb:15:in `request_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/base.rb:15:in `request_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:232:in `request'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/idempotent.rb:26:in `error_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/base.rb:10:in `error_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/base.rb:10:in `error_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:255:in `rescue in request'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:203:in `request'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/idempotent.rb:26:in `error_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/base.rb:10:in `error_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/base.rb:10:in `error_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:255:in `rescue in request'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:203:in `request'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/idempotent.rb:26:in `error_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/base.rb:10:in `error_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/middlewares/base.rb:10:in `error_call'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:255:in `rescue in request'
        from /home/vagrant/.vagrant.d/gems/gems/excon-0.42.1/lib/excon/connection.rb:203:in `request'
        from /home/vagrant/.vagrant.d/gems/gems/fog-xml-0.1.1/lib/fog/xml/sax_parser_connection.rb:37:in `request'
        from /home/vagrant/.vagrant.d/gems/gems/fog-xml-0.1.1/lib/fog/xml/connection.rb:7:in `request'
        from /home/vagrant/.vagrant.d/gems/gems/fog-1.25.0/lib/fog/aws/compute.rb:522:in `_request'
        from /home/vagrant/.vagrant.d/gems/gems/fog-1.25.0/lib/fog/aws/compute.rb:517:in `request'
        from /home/vagrant/.vagrant.d/gems/gems/fog-1.25.0/lib/fog/aws/requests/compute/describe_security_groups.rb:38:in `describe_security_groups'
        from /home/vagrant/.vagrant.d/gems/gems/fog-1.25.0/lib/fog/aws/models/compute/security_groups.rb:64:in `all'
        from /home/vagrant/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/run_instance.rb:193:in `block in allows_ssh_port?'
        from /home/vagrant/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/run_instance.rb:192:in `map'
        from /home/vagrant/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/run_instance.rb:192:in `allows_ssh_port?'
        from /home/vagrant/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/run_instance.rb:101:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /home/vagrant/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/elb_register_instance.rb:16:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /home/vagrant/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/warn_networks.rb:14:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /home/vagrant/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/sync_folders.rb:23:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/builtin/provision.rb:80:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/builder.rb:116:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/runner.rb:66:in `block in run'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/util/busy.rb:19:in `busy'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/runner.rb:66:in `run'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/builtin/call.rb:53:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /home/vagrant/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/connect_aws.rb:42:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/builtin/handle_box_url.rb:9:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/warden.rb:34:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/builder.rb:116:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/runner.rb:66:in `block in run'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/util/busy.rb:19:in `busy'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/action/runner.rb:66:in `run'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/machine.rb:212:in `action_raw'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/machine.rb:189:in `block in action'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/environment.rb:516:in `lock'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/machine.rb:176:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/machine.rb:176:in `action'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.7.0/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'

Cause

vagrant-aws bag? (or vagrant?)
https://github.com/mitchellh/vagrant-aws/issues/327

Solution

downgrade vagrant to version 1.6.5

$ wget -O vagrant1.6.5.rpm https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.rpm
$ sudo rpm -ivh vagrant1.6.5.rpm