DevOps ppk file not supporting - devops

How to resolve the issue when server not supporting ppk file in ec2.
Give some explanation about it that how we can use without any pem or ppk file.

Related

Key Vault virtual machine extension for Linux - how to delete previous PEM file

I have successfully installed the Key Vault virtual machine extension for Linux on Ubuntu 18.04 (Azure VM).
The certificate from KeyVault is imported in the default store /var/lib/waagent/Microsoft.Azure.KeyVault in PEM format.
How do I ensure that after importing a new version of the certificate, only the current one remains in the store and the old (invalid) is deleted?
This is the current state:
adminmox2#VM2:/var/lib/waagent/Microsoft.Azure.KeyVault$ ls
michalcpqtestwekv1.TestAcme
michalcpqtestwekv1.TestAcme.9c312a9e003b4df8a3a7881b5b149a6c.1651038865.1658814864.PEM
michalcpqtestwekv1.TestAcme.e1d6acf454d6474dab68dfb455e1b048.1650965285.1658741284.PEM
Thank you
If the VM has certificates downloaded by previous version i.e; v1,
deleting that v1 extension will NOT delete the downloaded
certificates. After installing v2.0, one may need to delete the
certificate files or roll-over the certificate to get the PEM file
with full-chain on the VM.
According to GitHub issue on cerificates azure Key Vault will not be able replace the old certificate as of now .So as a work around ,you can use custom script and periodically delete old certs.
References:
Run Custom Script Extension on Linux VMs in Azure - Azure Virtual Machines | Microsoft Docs
Azure Key Vault VM Extension for Linux - Azure Virtual Machines | Microsoft Docs

how to manage secrets of rails app while deploying application with chef habitat?

I am looking for how can I manage my passwords/credentials while deploying my rails application with habitat. so that I don't have to commit my credentials into the version control.
after researching a lot I found a work around for the credentials.
so habitat credentials are stored in .toml file and you can use these credentials directly. now we need to send this toml file to server directly if we do not want to commit file.
or we can create databags.

Getting Error with SSL Certificate in swift

ERROR:(You can't able to connect server without SSL certificate)
I have to use fullchain.pem file. How can I use that fullchain.pem file in my project to access the server and retrive the secure information from the server(fullchain.pem file was given by my backend team)
Please help me...
Advanced Thanks

Where to set aws configuration file in openwrt?

Program to publish data using aws-sns is working in ubuntu 14.04 LTS.But the package for the same program does not work in openwrt environment.I know the problem is with configuration file,we have to set an aws configuration file in linux to ~/.aws/ in the file credentials.Where should i add this credentials if i use opewrt?And can i use amazon web services like sns without this configuration file?

Linux APNS server which cert should I create?

I am going to use a linux server for push notifications.
Is the following correct?
Generate a CSR of the linux server
Upload the file to Apple to generate a cert
Change this cer to pem and then conbine with my private key pem of linux
Use the combined pem in my code
Is this correct? Since I get confused by the Apple document, I can now only test push notifications in my mac book, and can't test on other servers.
You don't have to generate the CSR on your linux server.
You can use the pem or p12 file you created (using your mac book) on any server.
If your code works when you test it on your mac book, it will work on any server. You just have to copy the pem or p12 file to that server.

Resources