Geração e Instalação de Certificado SSL para Companion Server (YTM Desktop) #1519
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request: Geração e Instalação de Certificado SSL para Companion Server (YTM Desktop)
Este PR implementa as seguintes funcionalidades no projeto YouTube Music Desktop (YTM Desktop):
✨ Funcionalidades
1. Geração Automática de Certificado SSL (localhost + IP local)
localhoste o IP local.cert.pemkey.pemca.pem2. Flag Persistente no
memoryStoressl_cert_generated = truediretamente nomemoryStoreapós geração.3. Rota para download da CA via HTTP
9862, que serve:/setup: página com instruções/ca.pem: download direto da CA4. Correções:
application/x-x509-ca-certfs.readFileSyncpara evitar erro de arquivo vaziolocalhost5. Interface Vue Integrada (YTMDSetting.vue)
memoryStore🔧 Como testar
1. Rodar o app localmente
2. Acessar a interface de configuração (Configurações do YTM Desktop)
3. Abrir o navegador e acessar:
4. Instalar o certificado CA no navegador
Chrome/Chromium:
chrome://settings/certificatesca.pemFirefox:
about:preferences> Privacidade e Segurança > Certificados > Ver Certificadosca.pemLinux (sistema):
macOS:
ca.pem📆 Observação
🔐 Próximos passos (opcional)
✅ PR pronto para revisão!
Caso deseje, posso também gerar um branch com esses ajustes para aplicação direta.