This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.
Newer versions of openssl are stricter about certificate purposes. Use extensions accordingly.
Generate a Certificate Authority:
This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.
Newer versions of openssl are stricter about certificate purposes. Use extensions accordingly.
Generate a Certificate Authority:
| var spawn = require('child_process').spawn; | |
| var pass = require('stream').PassThrough; | |
| var a = spawn('echo', ['hi user']); | |
| var b = new pass; | |
| var c = new pass; | |
| a.stdout.pipe(b); | |
| a.stdout.pipe(c); |
| const zip = (arr, ...arrs) => { | |
| return arr.map((val, i) => arrs.reduce((a, arr) => [...a, arr[i]], [val])); | |
| } | |
| // example | |
| const a = [1, 2, 3]; | |
| const b = [4, 5, 6]; | |
| const c = [7, 8, 9]; |
| #!/bin/sh | |
| defaults read com.apple.finder CreateDesktop > /dev/null 2>&1 | |
| enabled=$? | |
| if [ "$1" = "off" ]; then | |
| if [ $enabled -eq 1 ]; then | |
| defaults write com.apple.finder CreateDesktop false | |
| osascript -e 'tell application "Finder" to quit' | |
| open -a Finder |
| /*----------------------------------------------------*/ | |
| #pragma mark - XCTAsserts | |
| /*----------------------------------------------------*/ | |
| XCTAssert(expression, format...); | |
| XCTAssertTrue(expression, format...); | |
| XCTAssertFalse(expression, format...); | |
| XCTAssertEqual(expression1, expression2, format...); | |
| XCTAssertNotEqual(expression1, expression2, format...); | |
| XCTAssertNil(expression, format...); |
Creating a apache-proxy webapp on OS X using Server.app. Just enable the webapp on the appropriate domains; the path etc is configured in the webapp plist.
The examples below come from the config I used to get jenkins running on the Overture build server.
Frankly, I think the mechanism used has promise, but is very poorly documented. So it goes with much of Apple's Server.app stuff, though. Apple's "Advanced Topics" page at http://www.apple.com/support/osxserver/advancedtopics/ is not a bad place to find a bit of help, though.
/Library/Server/Web/Config/apache2/webapps/webappctl restart appears to force a reload.I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| mr Marathi | |
| bs Bosnian | |
| ee_TG Ewe (Togo) | |
| ms Malay | |
| kam_KE Kamba (Kenya) | |
| mt Maltese | |
| ha Hausa | |
| es_HN Spanish (Honduras) | |
| ml_IN Malayalam (India) | |
| ro_MD Romanian (Moldova) |