Gitlab SSL Certificate Cloudflare

By | Web | No Comments

errors include :

<p class="p1"><span class="s1">/ci/api/v1/builds/register.json: x509: certificate signed by unknown authority</span></p>
<p class="p1">fatal: unable to access 'https://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@xxx.com/apps/xxx/': SSL certificate problem: unable to get local issuer certificate</p>

update certificates to include the root ca –
helpful commands :

gitlab-runner --debug run
gitlab-ctl reconfigure
gitlab-ci-multi-runner unregister --url https://ssi.lt/ci --token xxx


-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: your_domain_name.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: DigiCertCA.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Root certificate: TrustedRoot.crt)
-----END CERTIFICATE-----

 
<pre>-----BEGIN CERTIFICATE-----
MIID/DCCAuagAwIBAgIID+rOSdTGfGcwCwYJKoZIhvcNAQELMIGLMQswCQYDVQQG
EwJVUzEZMBcGA1UEChMQQ2xvdWRGbGFyZSwgSW5jLjE0MDIGA1UECxMrQ2xvdWRG
bGFyZSBPcmlnaW4gU1NMIENlcnRpZmljYXRlIEF1dGhvcml0eTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzETMBEGA1UECBMKQ2FsaWZvcm5pYTAeFw0xNDExMTMyMDM4
NTBaFw0xOTExMTQwMTQzNTBaMIGLMQswCQYDVQQGEwJVUzEZMBcGA1UEChMQQ2xv
dWRGbGFyZSwgSW5jLjE0MDIGA1UECxMrQ2xvdWRGbGFyZSBPcmlnaW4gU1NMIENl
cnRpZmljYXRlIEF1dGhvcml0eTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzETMBEG
A1UECBMKQ2FsaWZvcm5pYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
AMBIlWf1KEKR5hbB75OYrAcUXobpD/AxvSYRXr91mbRu+lqE7YbyyRUShQh15lem
ef+umeEtPZoLFLhcLyczJxOhI+si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ZEZsYXJlIE9yaWdpbiBTU0wgRUNDIENlcnRpZmljYXRlIEF1dGhvcml0
eTAeFw0xNjAyMjIxODI0MDBaFw0yMTAyMjIwMDI0MDBaMIGPMQswCQYDVQQGEwJV
UzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEZ
MBcGA1UEChMQQ2xvdWRGbGFyZSwgSW5jLjE4MDYGA1UECxMvQ2xvdWRGbGFyZSBP
cmlnaW4gU1NMIEVDQyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwWTATBgcqhkjOPQIB
BggqhkjOPQMBBwNCAASR+sGALuaGshnUbcxKry+0LEXZ4NY6JUAtSeA6g87K3jaA
xpIg9G50PokpfWkhbarLfpcZu0UAoYy2su0EhN7wo2YwZDAOBgNVHQ8BAf8EBAMC
AQYwEgYDVR0TAQH/BAgwBgEB/wIBAjAdBgNVHQ4EFgQUhTBdOypw1O3VkmcH/es5
tBoOOKcwHwYDVR0jBBgwFoAUhTBdOypw1O3VkmcH/es5tBoOOKcwCgYIKoZIzj0E
AwIDSAAwRQIgEiIEHQr5UKma50D1WRMJBUSgjg24U8n8E2mfw/8UPz0CIQCr5V/e
mcifak4CQsr+DH4pn5SJD7JxtCG3YGswW8QZsw==
-----END CERTIFICATE-----
</pre>

AirBNB Pre-Approved Payment Mobile App Issue/Bug

By | Tips | No Comments

I recently tried to book a house on Airbnb mobile app.  Having not booked in a while, I decided to try linking my PayPal account.  I followed the steps in the app to connect my account for pre-approved payments.  Upon return to the app after successfully linking my account, I tried to book the house.  I received an error that the payment was not approved.  At this time, I then checked the PayPal website and could see a successful approved payment.  So, I thought to myself it must have been a little bug, so I tried to book again.  Once again, the charge showed up in PayPal, and now I had 2 successful PayPal payments and NO booking.  I called Airbnb immediately to explain the situation and they told me…don’t worry about it – this isn’t a real transaction.  Well, 2 days later – those pre-approved payments for over $2,000 hit my PayPal account!  Why?  Because the Airbnb app has a bad bug – and the PayPal link/booking flow is clearly broken.  Airbnb CSR reps (Sierra L.) were not helpful at all, and I had to get PayPal to finally step in and correct this mistake.  At no time did the CSR reps realize there was an issue with the app.  Additionally, they spoke over my concerns and actually hung up on me at one point! Wow, all for taking $2,000 in un-authorized charges.  Clearly they have no Customer Service Representative training.

Do not use PayPal and AirBNB – it doesn’t work correctly.

DigitalOcean Block Storage Speed and Benchmarks

By | digitalocean, Linux | No Comments

Here are some simple stats from the new block storage available over at DigitalOcean.  Tested on a 1gb droplet.

hdparm -t /dev/sda Reads

Timing buffered disk reads: 536 MB in  3.01 seconds = 178.15 MB/sec

Timing buffered disk reads: 586 MB in  3.01 seconds = 194.63 MB/sec

Timing buffered disk reads: 574 MB in  3.00 seconds = 191.32 MB/sec

hdparm -T /dev/sda Cached Reads

Timing cached reads:   15090 MB in  2.00 seconds = 7551.96 MB/sec

Timing cached reads:   15056 MB in  2.00 seconds = 7535.53 MB/sec

Timing cached reads:   14810 MB in  2.00 seconds = 7411.46 MB/sec

time sh -c "dd if=/dev/sda of=ddfile bs=8k count=1000000 && sync"; rm ddfile Writes

8192000000 bytes (8.2 GB) copied, 49.4442 s, 166 MB/s

real 0m49.523s

user 0m0.348s

sys 0m12.384s

Hackintosh 10.11.5 Update Instructions

By | Hackintosh | No Comments

For the latest 10.11.5 here is the recommended upgrade procedure.  There are no known compatibility issues at this time for upgrading directly from the AppStore.

Download and Install the update from the AppStore.  Allow your machine to restart.

In clover, change your boot options to set


nv_disable=1

Boot.  Allow the update to continue and wait for it to install.  If you’re using -v boot flag don’t expect to see the normal progress indicator however the update will install in the background so be patient.

Once booted – download the latest NVIDIA Drivers.  Reboot after installing and use the standard


nvda_drv=1