Comments (2)
I just ran into a similar situation. The best environment-friendly manner of doing this that I could come up with is:
- Grab the cert file from curl
curl http://curl.haxx.se/ca/cacert.pem -o .\cert.pem
- Stuff that in your repo, so that it's accessible to your Capistrano deployment with a relative path
current_path = File.dirname(__FILE__)
certs = File.expand_path(File.join(current_path, '../relative/cert.pem'))
ENV['SSL_CERT_FILE'] = certs
OpenSSL will use the file as listed in SSL_CERT_FILE
from capistrano-scm-jenkins.
fixed by #7
from capistrano-scm-jenkins.
Related Issues (11)
- support filter the SCM log with prefix filter
- support capistrano 3 HOT 1
- Breaks with `sync' is not implemented by Capistrano::Deploy::SCM::Jenkins (NotImplementedError) on Capistrano 2.9.0 HOT 3
- Plugin locked to capistrano 3.2.1 HOT 1
- mv is not moving hidden files HOT 5
- remove --fail in the update def HOT 2
- change repository address HOT 4
- Set SCM id Deprecated on Capistrano
- undefined method path for #<StringIO> HOT 1
- cap deploy:pending crashed with a strange title
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capistrano-scm-jenkins.