how to config p2pool so that it can connect to bitcoind wiht HTTPS?
For using SSL with Bitcoin follow these instructions: https://en.bitcoin.it/wiki/Enabling_SSL_on_original_client_daemon

Maybe your RPC Connection String have connection type "HTTP"

connection-type = "http" 


Change http to https