Pip search --index 'https://user:pass@localserver:8443/repository/pypi/' mypip broken

The index URL needs to have “/index” appended to it.

https://user:pass@localserver:8443/repository/pypi/index

Can you try using that?