Skip to content

Instantly share code, notes, and snippets.

View simplesteph's full-sized avatar
🌴

Stephane Maarek simplesteph

🌴
View GitHub Profile
# double check that the certificates are loaded
openssl s_client -debug -connect kafka-schema-registry-1.kafka-schema-registry.example.com:443 -tls1
# to verify if the schema registry is responding to REST requests
curl -k https://kafka-schema-registry-1.kafka-schema-registry.example.com:443/subjects
# to verify if your public certificate matches the SSL certificate from the schema registry
curl --cacert cacert.pem https://kafka-schema-registry-1.kafka-schema-registry.example.com:443/subjects
@simplesteph
simplesteph / attach-eni.py
Created January 4, 2018 23:28 — forked from rcillo/attach-eni.py
This gist contains code that attaches an ENI to a running EC2 instance and configures the network accordingly
# -*- coding: utf-8 -*-\
"""
The MIT License (MIT)
Copyright (c) 2015 Zalando SE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights