Connecting HC-08 as master and HC-05 as slave

HC-05 is a classic Bluetooth device only BT2 .
HC-08 is a BLE device BT4.
While that latter implies it can be configured as BT2 in order to talk to HC-05, I don't believe that is actually the case, and you are out of luck. Check the HC-08 manual.