A method for managing a configuration of a first device, the method comprising connecting the first device to a web browser application of a second device operating in an HTTPS domain, said second device comprising a local server for managing network services within the second device; controlling (202; 314), by the web browser application implemented on said second device, an operation of the local server over a HTTPS connection to a localhost address of the local server, wherein the localhost address of the local server is mapped to a second network address in a domain name server, requesting, by said web browser application, an IP address of the second network address from the domain name server; obtaining the localhost address of the local server as the IP address of the second network address, wherein said second network address is provided with a certificate for a secure connection; requesting, by said web browser application, the secured connection to the local server; obtaining (326, 328), by said web browser application, upon detecting by the web browser application that the local server lacks an application capable of HTTPS connections, an installation package for said application from a predefined network address; installing said application on said web browser application and on the local server; starting the local server; sending, to a certificate provider, a request to verify the certificate of the second network address; establishing, upon receiving a verification acknowledgement from the certificate provider, the secured connection to the second network address mapped to the localhost address of the local server using the certificate of the second network address; and managing (344, 346) the configuration of the first device via the web browser application over said HTTPS connection to the localhost address of the local server. connecting the first device to a web browser application of a second device operating in an HTTPS domain, said second device comprising a local server for managing network services within the second device; controlling (202; 314), by the web browser application implemented on said second device, an operation of the local server over a HTTPS connection to a localhost address of the local server, wherein the localhost address of the local server is mapped to a second network address in a domain name server, requesting, by said web browser application, an IP address of the second network address from the domain name server; obtaining the localhost address of the local server as the IP address of the second network address, wherein said second network address is provided with a certificate for a secure connection; requesting, by said web browser application, the secured connection to the local server; obtaining (326, 328), by said web browser application, upon detecting by the web browser application that the local server lacks an application capable of HTTPS connections, an installation package for said application from a predefined network address; installing said application on said web browser application and on the local server; starting the local server; sending, to a certificate provider, a request to verify the certificate of the second network address; establishing, upon receiving a verification acknowledgement from the certificate provider, the secured connection to the second network address mapped to the localhost address of the local server using the certificate of the second network address; and managing (344, 346) the configuration of the first device via the web browser application over said HTTPS connection to the localhost address of the local server.