Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| const path = require('path'); | |
| const fs = require('fs'); | |
| const util = require('util'); | |
| // get application version from package.json | |
| const appName = require('../package.json').name; | |
| // promisify core API's | |
| const readDir = util.promisify(fs.readdir); | |
| const writeFile = util.promisify(fs.writeFile); |
| import { Injectable } from '@angular/core'; | |
| import { HttpClient } from '@angular/common/http'; | |
| import { interval } from 'rxjs'; | |
| import { MatSnackBar } from '@angular/material'; | |
| import { environment } from '@environments/environment'; | |
| @Injectable({ providedIn: 'root' }) | |
| export class ThisSoftwareUpdateService { | |
| constructor( |