Jump to content

ajoo

Members
  • Content Count

    834
  • Joined

  • Last visited

Community Reputation

2 Neutral

About ajoo

  • Rank
    Prolific Member

Recent Profile Visitors

7,713 profile views
  1. Hi requinix, Yes I am running apache but xsendfile isn't a native module. If it can be installed, then how can it be installed? I don't see the module files on laragon as i generally do on a VM. I think it has modules compressed into an so or something. I am not sure. Please see below the contents of the modules folder in laragon at etc/apache/modules . . Thanks !
  2. Hi, Is anyone aware if it's possible to add / install apache modules to Laragon ? I wanted to add the xsendfile module to it if it's possbile to do so. Thanks.
  3. hmm, 👍 Thank you.
  4. Thanks requinix, So while I got this working, strangely I still have httpd -t -c httpd.conf give the following :- and the file at is neither empty nor missing and is also the right format. Incidentally, this same certificate I used in my windows 10 that gave the lock. Also shouldn't a syntax error cause the server to not restart or reload? Any suggestions how this can be further invetigated? Anything else that I look into ? My logs, all of them are set to warn and were totally clear. Thanks loads !
  5. Hi, could you please suggest where i may begin checking on my server? Thanks
  6. Hi ! SO i got the certificate to my windows machine and installed it. The hosts file on the machine has an entry for my locally hosted website. And while I got the padlock I got a 404 error message. I'ld like to mention that I am using vagrant to spin up 2 machines for me, a host and a server. I then use the host to setup the server using ansible. Thus my server is twice removed from my windows machine. I then copied the keys as suggested by requinix from the server to my windows machine and got the result shown above. I hope someone can suggest what issues could be causing this 404 error. Thanks !
  7. Hi Kicken, Thanks for the reply. I have a VM instance on my computer so that makes the VM to be another computer. The certificates and the key are on the VM hosting the site as that's how they are placed by default there when they are be installed. Possibly the certificate, which i believe holds the key, needs to be uploaded to the main machine from where I browse the site and installed there as well for selfsigned certificates though I don't know for sure and I don't know where. Possibly in the trusted certificates somewhere in the control panel and possibly in the browser too. Maybe you can confirm or refute some of the points I make above. Thanks !
  8. 😕 so which is the public key !? surely you woudn't be referring to the public key of the server ?? where and how to install it on the computer ? Meanwhile I looked up another certificate issuer that professes to be there only for the localhost testing as of now, namely mkcert. It comes bundled with the trust authority and is easily installed. It is, except that the end result was still the same. Chrome did not accept and gave the same error as before. Sorry if my questions are too noobish but this is totally new to me. Thanks !
  9. Hi requinix !! Thanks for the response ! I hope you are doing good. I have already read up on what you mention but i it's confusing. I have already generated a selfsignied certficate. On my VM localhost I have the following so far: At /etc/pki/tls/certs/ : testnode.csr, testnode.pem, testnode.conf and testnode.combined.pem At /etc/pki/tls/private/testnode.key So do i need to download /etc/pki/tls/private/testnode.key from the VM onto my host computer ? On some of the questions answered on stack exchange, the mention a key like root_CA.key / root_CA.pem I don't know if that is the key you are talking about. I don't see that being generated on my computer. How can I do this ? Maybe a thread or an article / tutorial on this that you can point to. I'ld be happy. I will try out the Letsencrypt bit later with an actual domain. Thanks loads and keep safe. 🙏
  10. The following is the error that In have been receiving. Hopefully someone can suggest something. Thanks !
  11. Hi all ! I have been trying to use selfsigned cerificate on my VM for testing. I have tried to do so by following the tutorial here and with utter failiure. No matter what I try, the selfsigned certificate simply won't change the URL bar to the safe green. I always end up with the "your connection is not private" message. The URL says not secure instead of the green padloc and the https is crossed out by 2 lines. it leaves me wondering if selfsigned certficates are not accepted by chrome or firefox any longer. Has anyone else suffered from a similar problem and can have some words of advice for me ! Thanks loads !!
  12. HI, I have been trying to create a passwordless user using Ansible. However it fails at the point where the SSH key is to be placed. Below is the playbook that I am using. Text --- - hosts: test1 become: yes tasks: - name: Make sure we have a 'wheel' group group: name: wheel state: present - name: Allow 'wheel' group to have passwordless sudo lineinfile: dest: /etc/sudoers state: present regexp: '^%wheel' line: '%wheel ALL=(ALL) NOPASSWD: ALL' validate: 'visudo -cf %s' - name: Add sudoers users to wheel group user: name: "adminn" groups: wheel append: yes state: present createhome: yes - name: Set up authorized keys for the adminn user authorized_key: user: adminn key: "{{ item }}" with_file: - /home/vagrant/.ssh/id_rsa.pub which ends giving the following error. I have set up the system using vagrant wherein i have a control and node server with default user vagrant that already has a passwordless access from control to the node. This is a new user that I wish to create. I referred to this article . Hoping that someone can help me resolve this error. Thanks all !
  13. Hi, I have been trying to automate the setting up od ssh keys on host machines using ansible. I have setup a master and test machine using vagrant on centos7. It automatically creates the vagrant user on both machines with sudo rights. Now I do not wish to manually copy the public key from the master to the node machine. I would rather have ansible do it. It always gives the following error: My sshd_config has PasswordAuthentication = yes. Yet it does not ask for the password. If I try and ssh into the server directly from the terminal i get the following error : and again it does not ask for the password. Looking for any suggestion and stuff I can try. Thanks all !
  14. ajoo

    simple file copying

    Hi Kicken, Thanks for the response, I'll think about your suggestion and decide what to do. I'll look into gulp. I have no idea what it does. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.