Oracle 11g on localhost for dev

In case you cannot access console due to ssl_error_weak_server_cert_key,
you could switch it to unsecure:

set ORACLE_UNQNAME=orcl
set ORACLE_HOSTNAME=localhost
emctl unsecure dbconsole