Browse through the questions and answers listed below or filter and sort to narrow down your results.
Debug AWS_IO_FILE_VALIDATION_FAILURE while trying to connect to aws IoT with custom client certificate
I failed to run the sample code for [basic_connect](https://github.com/aws/aws-iot-device-sdk-cpp-v2/tree/main/samples/mqtt/basic_connect). While running it with the following argument: `basic_connect.exe --client_id "ME" --endpoint "*-ats.iot.eu-west-1.amazonaws.com" --cert "<>/MyCertificate.crt" --key "<>/MyPrivate.key" --verbosity "Debug"` i receive the following output: ``` [DEBUG] [2022-09-29T13:02:54Z]  [mqtt-client] - client=*: Initalizing MQTT client [DEBUG] [2022-09-29T13:02:56Z]  [tls-handler] - static: This library was built with Windows 8.1 or later, probing OS to see what we're actually running on. [DEBUG] [2022-09-29T13:02:56Z]  [tls-handler] - static: We're running on Windows 8.1 or later. ALPN is available. [DEBUG] [2022-09-29T13:02:56Z]  [tls-handler] - static: This library was built with Windows 8.1 or later, probing OS to see what we're actually running on. [DEBUG] [2022-09-29T13:02:56Z]  [tls-handler] - static: We're running on Windows 8.1 or later. ALPN is available. [DEBUG] [2022-09-29T13:02:56Z]  [tls-handler] - static: certificate and key have been set, setting them up now. [INFO] [2022-09-29T13:02:56Z]  [pki-utils] - static: loading certificate chain with 1 certificates. [ERROR] [2022-09-29T13:03:04Z]  [pki-utils] - static: no acceptable private key found, error AWS_IO_FILE_VALIDATION_FAILURE [ERROR] [2022-09-29T13:03:04Z]  [tls-handler] - static: failed to import certificate and private key with error 1038. Client Configuration initialization failed with error aws-c-io: AWS_IO_FILE_VALIDATION_FAILURE, A file was read and the input did not match the expected value ``` I have been trying to follow this AWS_IO_FILE_VALIDATION_FAILURE, and i endup with the following callstack: ``` basic-connect.exe!aws_import_key_pair_to_cert_context(aws_allocator * alloc, const aws_byte_cursor * public_cert_chain, const aws_byte_cursor * private_key, bool is_client_mode, void * * store, const _CERT_CONTEXT * * certs, unsigned __int64 * crypto_provider, unsigned __int64 * private_key_handle) Line 691 C basic-connect.exe!s_ctx_new(aws_allocator * alloc, const aws_tls_ctx_options * options, bool is_client_mode) Line 2010 C basic-connect.exe!aws_tls_client_ctx_new(aws_allocator * alloc, const aws_tls_ctx_options * options) Line 2044 C basic-connect.exe!Aws::Crt::Io::TlsContext::TlsContext(Aws::Crt::Io::TlsContextOptions & options, Aws::Crt::Io::TlsMode mode, aws_allocator * allocator) Line 423 C++ basic-connect.exe!Aws::Iot::MqttClientConnectionConfigBuilder::Build() Line 493 C++ basic-connect.exe!Utils::CommandLineUtils::GetClientConnectionForMQTTConnection(Aws::Iot::MqttClient * client, Aws::Iot::MqttClientConnectionConfigBuilder * clientConfigBuilder) Line 542 C++ basic-connect.exe!Utils::CommandLineUtils::BuildDirectMQTTConnection(Aws::Iot::MqttClient * client) Line 459 C++ basic-connect.exe!main(int argc, char * * argv) Line 41 C++ [External Code] ``` None of the call to `CryptDecodeObjectEx` will succeed in the function `aws_import_key_pair_to_cert_context`. It sounds like there is a problem with my private key which i generated as follow: `openssl req -newkey rsa:4096 -sha256 -nodes -keyout MyPrivate.key -out MyRequest.csr -config MyConfig.cnf` I am not sure to understand what this function is meant to do and what is wrong with my key. I am using win10 with msbuild (tryied in python as well).
Password Change in RDP
Please I have tried changing my windows rdp password after i was prompted to change the password using ctrl+alt+del key. but my problem is that the default password is too long to memorize and there is no copy and paste option. Please is there any easy way or video on how to change vps password in my aws dashboard account? Thanks
Font loading is not proper in NoSQL Workbench (Windows 11)
I am using a Windows 11 PC (Lenovo Legion Y540) and have installed NoSQL Workbench v3.3.0 The fonts are not loading properly for me on the app, creating a strain on my eyes & ruining the experience. Here's a screenshot for your reference ![UI Snapshot](/media/postImages/original/IMEGatrdObQr2bjgpZJrsOWA) I suspect this is due to a font not having been properly installed on my machine. Can you please tell me which font this application uses so that I can go install it & then maybe try rebooting the application and try again ? I have installed all Amazon Developer fonts, Helvetica, Roboto, Sans Serif on my machine & yet they somehow don't seem to be working
How to take backup of sql server on Another windows machine
Hi All, We have multiple sql servers installed on windows on prem environment, now plan is migrate those to AWS RDS.. We are planning to us below method. 1) Native import/Export using S3 and the restore and 2) DMS Now my question is aroung Native import/export . Question:- 1) We dont have access to those sql server database servers, now if we try to take back up then its always storing on local machine where SQL Server is installed. 2) Now if we have to take backup of all these databases on remote server (Jump server) and then upload to s3 , then how we will be able to achieve this.
Windows Instances launched using RegisterImage API are showing PlatformDetails as "Linux/UNIX" and are not booting - when the EBS volume snapshots are created using StartSnapshot() API
Steps to reproduce: 1. Create a Windows Instance with a single EBS volume (aka root volume) 2. Take a snapshot of the root volume (Snap-1) 3. Create a new EBS snapshot (Snap-2) using `StartSnapshot` API with the Snap-1 as parent snapshot. 4. On Snap-2, issue `CompleteSnapshot` API with 0 changed blocks. 5. Create an AMI using `RegisterImage` API with Snap-2 as the root volume and same block device mapping as the original instance. 6. Any instance created using the AMI has "Linux/UNIX" in Platform Details and does not boot. It was observed that this issue occurs only if the EBS snapshot used is created using `StartSnapshot` API. For example, if Snap-1 was used in the `RegisterImage` call, any instance created using the AMI is showing platform as "windows" and is booting up properly. Question: Is there any way to create a Windows AMI (that creates bootable windows instances) using EBS snapshots created via `StartSnapshot` API or is there any workaround for this ?
My Desktop is empty
Hello, I need help. All the icons and apps that were on my desktop on the server are gone, and now the screen is dark and I can't access any kind of settings to try to solve this problem. How do I restore the system so I can have access to my information again? Thank you for your attention!
AD Connector-Unable to connect to the On-Premises Active Directory
I am trying to create a AD Connector to connect to On-prem Active Directory. I am seeing the below error Configuration issues detected: SRV record for LDAP does not exist for IP: 10.0.0.10, SRV record for Kerberos does not exist for IP: 10.0.0.10. Please verify existing configuration and retry the operation.
How to install our new server vaccine file(program) on your server?
We are planning to purchase a new server vaccine program and install it on your server that we are currently using. Please tell me how to install it. Please give me detailed information including whether the file can be transferred directly and where to paste the file. etc. Thank you.
How to have client applications start/stop EC2 instances
I am working on a project which uses VR for architectural visualization, and we are wanting to use AWS EC2 instances with CloudXR to run applications for clients, however, these would need to be remotely started and stopped when the clients are using or not their app. It would be ok to have 1 client per EC2 instance, as each app would be unique, so a manual process of creating and setting up an EC2 instance per client is how I see it working for now, but it couldn't stay running, as they will only be using the app perhaps a few hours a week. I am not sure how to go about this, and I haven't been able to find what I'm looking for so far, so any pointers would be greatly appreciated. Cheers
Migration of Windows File Server from Datacenter to AWS
Dear Experts, We have windows file server in Data Center with approximately 3.5 TB of Data allocated in 4 disks in DC. Windows file server is on server 2012 in Data center. We are doing migration of this file server to AWS using AWS Migration Services(MGN). Business user is not ready to use Windows FSX as the option here therefore we migrating the file server. After migration, the server will be upgraded to 2019 and then the cutover will be done. Do you forsee any issue with migration with such a large amount of data? For replication disks we are using gp3 disk and replication is happening over the internet so replication process is quite slow. However, the query is that after the replication, do you forsee any issue with upgrade and cutover of the instance? Business is expecting to have all file shares permissions should be replicated to the target. Thanks