pika加载证书连接rabbitmq(5671端口)
def start_consumer(): import jks # 安装pyjks from OpenSSL import crypto # 安装openssl,module好像叫pyopenssl from urllib import quote, urlencode # 密码中特殊字符做quote, url中特殊字符做urlencode username = 'guest' password = quote('guest@password') p12_path =...
more...