I can't help you with the main thrust of how to index ssl content, but will take an attempt at the learning mdfind commands.
The man page for mdfind is thin, but shows you that you can search on anything that is classified. In your case, try a mdfind command to get some web history results - for me, this command shows several files Safari has squirreled away for spotlight to index.
mdfind stackexchange | grep Safari | grep History | head
From there, you can use
mdls to pick apart what terms you might want to feed back into
mac:Users mike$ mdls /Users/mike/Library/Caches/Metadata/Safari/History/http:%2F%2Fapple.stackexchange.com%2Fquestions%2F25487%2Flock-screen-with-launchbar.webhistory | tail
kMDItemFSName = "http:%2F%2Fapple.stackexchange.com%2Fquestions%2F25487%2Flock-screen-with-launchbar.webhistory
kMDItemFSNodeCount = 14147
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 14147
kMDItemFSTypeCode = ""
kMDItemKind = "Safari history item"
kMDItemLogicalSize = 14147
kMDItemPhysicalSize = 16384
kMDItemURL = "http://apple.stackexchange.com/questions/25487/lock-screen-with-launchbar"
A few tags that might be of immediate use to you are kMDItemContentType, kMDItemFSName, and kMDItemURL
You can see my mac has processed several hundred items with a URL that begins with https:
mac:Users mike$ mdfind "kMDItemURL == 'https:*'" | wc -l